Skip to main content
cforcloud
Participant
Nov 13, 2014 7:12 PM UTC
Answered

Porting existing Android native app to Adobe AIR

I indent to port a existing Android native app to Adobe AIR for android. Reasons: To use my existing AS3 skills, "cost" for native is too high and soon port it to iOS.

Difficulties I face here:

  1. Existing app package, say "com.mygame.myapp" has to be retained. By using FB with AIR SDK, we get a "air." prefix to the package name. It becomes "air.com.mygame.myapp".
    Will this solution still solve the problem in AIR SDK removing "air." prefix from package name has any working solution!?.
    The help link http://helpx.adobe.com/air/kb/opt-out-air-application-analytics.html is dead now. iOS specific is found here Opt-out | Adobe AIR app analytics | iOS
    Please suggest me a Mac suitable solution.

  2. In Android, using a ".keystore" file, we need to export as the ".APK" file. In AIR, if we publish using a new ".p12" signature file would it be compatible with Google Play, and it rules.

App's existing users should find difficulty in upgrading the app.

Another unanswered thread Possible to remove "air." appended on package and target a .keystore rather than .p12?

Thanks a lot.

This topic is closed to new replies. Start a new post to keep the conversation going.
cforcloud
cforcloudCorrect answer
Participant
Nov 14, 2014 11:54 PM UTC

I was able to figure it out with the help of Jeff Ward Ooh, I just discovered how to easily remove the 'air.' prefix when packaging…

Tested and works fine with AIR SDK 15, Mac OSX 10.10 Yosemite. actionscript 3 - Android App ID prefix problem - Stack Overflow

java -jar /FULL_PATH_TO_AIR_SDK/lib/adt.jar -package -target apk-captive-runtime -storetype jks -keystore <DEVELOPER>.keystore -storepass <PASSWORD> Main.apk Main-app.xml Main.swf -extdir /PATH_TO_ANE_DIRECTORY

4 replies

cforcloud
cforcloudAuthorCorrect answer
Participant
Nov 14, 2014 11:54 PM UTC

I was able to figure it out with the help of Jeff Ward Ooh, I just discovered how to easily remove the 'air.' prefix when packaging…

Tested and works fine with AIR SDK 15, Mac OSX 10.10 Yosemite. actionscript 3 - Android App ID prefix problem - Stack Overflow

java -jar /FULL_PATH_TO_AIR_SDK/lib/adt.jar -package -target apk-captive-runtime -storetype jks -keystore <DEVELOPER>.keystore -storepass <PASSWORD> Main.apk Main-app.xml Main.swf -extdir /PATH_TO_ANE_DIRECTORY

Translate
cforcloud
cforcloudAuthor
Participant
Nov 15, 2014 8:24 AM UTC

How to include both armv7 and x86 using "-arch" option? By default it is armv7 only.

Translate
Colin Holgate
Inspiring
Nov 15, 2014 12:26 PM UTC

I don't  think it works that way. You make two builds to upload to Google Play, and the store delivers the right one to the user.

Translate