Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

Device central apk file

Participant ,
May 18, 2011 May 18, 2011

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

TOPICS
Development
1.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
May 18, 2011 May 18, 2011

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

Translate
Community Expert ,
May 18, 2011 May 18, 2011

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 18, 2011 May 18, 2011

thanks i have the emulator running how do i add my apk?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 18, 2011 May 18, 2011

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
May 18, 2011 May 18, 2011

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 19, 2011 May 19, 2011
LATEST

many thanks, installing the runtime was a pita but using the publish and open in emulator worked a treat

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines