Skip to main content
Known Participant
March 22, 2011
Answered

How to publish android app with the new AIR 2.6 ?

  • March 22, 2011
  • 1 reply
  • 1105 views

Please anyone can help to instruct the correct way to install the new AIR SDK?

I work with Flash IDE and don't know how to link them...

And another noob question, are there any differences between "AIR Android" and "Adobe AIR 2" in publish settings when I'm going to create an android app with up-to-date AIR version? I was very confused by the scenario that as long as I upgraded to AIR2.6 SDK, "AIR Android" remains 2.5 though "Adobe AIR2" will surely be 2.6?

Much appreciated for any help.

This topic has been closed for replies.
Correct answer vabhatia

To create an APK package, use the ADT package command, setting the target type to apk for release builds, apk-debug for debug builds, or apk-emulator for release-mode builds for running on an emulator.

adt     -package 
    -target apk 
    -storetype pkcs12 -keystore ../codesign.p12 
    myApp.apk 
    myApp-app.xml 
    myApp.swf icons

Type the entire command on a single line; line breaks in the above example are only present to make it easier to read. Also, the example assumes that the path to the ADT tool is on your command-line shell’s path definition. (See Path environment variables for help.)

You must run the command from the directory containing the application files. The application files in the example are myApp-app.xml (the application descriptor file), myApp.swf, and an icons directory.

When you run the command as shown, ADT will prompt you for the keystore password. (The password characters you type are not displayed; just press Enter when you are done typing.)

You can find more details here

1 reply

vabhatiaCorrect answer
Adobe Employee
March 25, 2011

To create an APK package, use the ADT package command, setting the target type to apk for release builds, apk-debug for debug builds, or apk-emulator for release-mode builds for running on an emulator.

adt     -package 
    -target apk 
    -storetype pkcs12 -keystore ../codesign.p12 
    myApp.apk 
    myApp-app.xml 
    myApp.swf icons

Type the entire command on a single line; line breaks in the above example are only present to make it easier to read. Also, the example assumes that the path to the ADT tool is on your command-line shell’s path definition. (See Path environment variables for help.)

You must run the command from the directory containing the application files. The application files in the example are myApp-app.xml (the application descriptor file), myApp.swf, and an icons directory.

When you run the command as shown, ADT will prompt you for the keystore password. (The password characters you type are not displayed; just press Enter when you are done typing.)

You can find more details here

Breezzze1Author
Known Participant
March 25, 2011

Thanks for your detailed answer. It's been a great help!