Open josquinet opened 2 years ago
I believe you can only do that with the supported IDE's such as Visual Studio Code and intellij etc. I am using Flash Develop currently.
It is actually possible to use Android Studio but setting up the project is a bit of a challenge .. but if you use one of our recent SDKs and configure the KeepAndroidStudioOutput
setting to true (in the AIR SDK lib/adt.cfg file), then it would generate a folder "AndroidStudioProject" that you can open up and then use that for packaging.
If you update your ActionScript, you'd then need to compile it to SWF using your standard method and copy this into the app/assets folder, and can re-generate the APK from there.
It gets a bit more challenging with ANEs etc but generally once they're set up you can then keep that project folder intact. Any time you run the AIR "ADT" tool again to package up the project, it will re-generate the AndroidStudioProject (any changes you make would be lost). Ultimately what you need is (a) the native libraries for AIR, (b) the runtime classes for AIR (as a jar file), (c) for your main activity to inherit from the AIRAppEntry class. Best thing is to just try with that configuration setting and see how the project looks...
I apologize if these are very basic questions:
the app\assets folder is inside airsdk? I have seen an assets folder in C:\airSDK795\frameworks\projects\air\ApplicationUpdater\src\ApplicationUpdaterDialogs\assets is that?
how do I update my actionscript?
how do I use the androidStudioProject folder for packaging? Saving the apk there? or doing something else? Thanks a lot!
1 assets in ouput folder 2 update as3 use text editor 3 packageing apk,use android studio ide
@josquinet
Good Morning. I am trying to create an apk with adobe air sdk from Harmann. It's giving me tremendous problems. I thought that maybe I can create my apk file with android studio and not use the adobe compiler.
Is it possible? Could you send me a tutorial to start doing it?
I can't find anything online!
Thank you very much.