Copy link to clipboard
Copied
I have cs5.5 and I used the new .apk packager to create an android application form one I had prepared for iOS. It published correctly but what do i do in device central to test the apk. Everytime I tried it said apk was not supported even though it let me browse for it
If you are using Flash Pro you just select "Emulator Release" in the deployment section of your publish settings, and also check install application / launch application
Copy link to clipboard
Copied
Device Central does not support running apks. If you do not have access to an Android device that is capable of running AIR for Android, the you will have to download the Android SDK and install the Android emulator. Once that is installed, you will need to install the emulator version of AIR for Android, then you will be able to install your APK. If this sounds like a lot of work, it can be. The emulator is also slow and does not support all the features of the device. I always recommend that if you are developing for Android to get a device. Publishing is so easy with the new tooling in CS5.5, and having it running in the real environment is so worth the cost. You will wind up saving money, but not waiting for the emulator.
Chris
Copy link to clipboard
Copied
thanks i have the emulator running how do i add my apk?
Copy link to clipboard
Copied
If you are using Flash Pro you just select "Emulator Release" in the deployment section of your publish settings, and also check install application / launch application
Copy link to clipboard
Copied
I hope you have these things configured in your system, if not, install it first:
i) Android SDK
ii) AIRforAndroid extension for flash (after installed it will show AIR for Android in the flash)
set your android sdk path to your envrionment variables path, I have configured as C:\android-sdk\platform-tools, there we have the file adb.exe which is the file to install apk files on emulator
Then install your apk using the command:
adb install pathToRuntime/Runtime.apk
Open the emulator and check there the name of your application.
Copy link to clipboard
Copied
many thanks, installing the runtime was a pita but using the publish and open in emulator worked a treat
Find more inspiration, events, and resources on the new Adobe Community
Explore Now