How to install Adobe Air applications on Android Emulator?

Posted Posted by Ercan in Air, BLOG     Comments 13 comments

Everyone is talking about Adobe Air on Anroid devices, but the answer to the question  “How can I test my application without buying an android device?” is not very clear. There are many air applications working on real devices but I could not find a specific tutorial working on emulator and decided to write a brief one :)

1. Download the latest Android SDK from this link.

2. Extract the folder on your hardrive .

3. Click Setup.exe

4. At this screen you should select to download the package “Usb driver package revision x”.

5. From left menu select Virtual Devices and click New button. In new popup  select Target as “Android 2.2 – API Level8″ and fill other required fields as you wish. Then click Create AVD.

Hint : Selecting skin as default(HVGA) will speed up your emulator speed .

6. Select your virtual device then click start . Only one click left to launch your emulator;) Emulator is not as fast as real devices, so you have to wait a little…

7. Do not turn off your emulator.We will install Adobe Air on it :) Sign into Adobe Air Prelease program.  Download AIR 2.5 Runtime – Emulator [For Eclair][05/20/10].  There is also an emulator  version for Froyo 2.2, but this version is not working properly.

8.Copy your downloaded Runtime_Emulator_Eclair.apk file to tools folder under your AndroidSDK folder.

9.Open your command prompt (start–>search> cmd.exe) and write your commands until you reach “tools” folder under your Android files folder. Type the following :  adb install “your apk file” then press enter!  You will see screens like these:

10. Let’s control our virtual device.

- Click launcher icon on screen (16 small squarea :)) —>Settings —> Applications —> Manage Applications

- It is there!

11.  Now it’s time to make an Air-Android application with Flash CS5.  If you logout, sign into Adobe Air Prelease program again:) Download AIR for Android Extension for Flash CS5 and install it.

12. Create a new Air Android application from template :

13 . Go to File —> Air Android Settings.

14.  General part is about application main settings like name,orientation,output name etc.Let’s pass to Deployment part.

15. If you want to learn what certification means,  you can take a look at here.  Since I don’t want to sell my “Hello Android” application I just create a dummy certificate.  Click create button.

16.Select both checkboxes on publish settings to install our application without command prompt. Again we faced with our famous “tools” folder :) There is a file named adb.exe in this folder so let’s browse it!

17. Then predict what is the next step :P  Don’t afraid click publish!

18. Take a look at your emulator what you see ??? Trust Adobe accept the terms of aggreement :)

19. Yes, its response is too slow but it is working :) Say “Hi!” to our first Hello Android application . Hope this tutorial helps to you!

13 Comments to “How to install Adobe Air applications on Android Emulator?”

  • Hi ,

    Nice one , it helped me, actually i was facing problem with runtime, i installed latest android sdk then my problem got resolved..

    well can u post step step by tutorial for making and flex application to apk file . this would help lots of people.


  • Thank you!

    For an update, I could not get Runtime_Emulator_Eclair_20100517.apk to work, I switched to Runtime_Emulator_Froyo_20100603.apk ( 6.11.10) and got it working.

  • Thanks for the nice tutorial. Now we can have fun with the Froyo and don’t have to own a Froyo device :)

  • I was bored until i’ve found your website, interesting articles

  • Heyy dude, can i post articles to your website ? Let me know if you are interested

  • Where can i find Runtime_Emulator_Eclair.apk? I cant find it on the Adobe Air Prelease-Programm.

  • hi,want to know more about android + php apps

  • is this emulator will work for apps which were developed in php

  • I have a problem, then I publish the project and it is installed in the android device, i can’t see the animation, only i can see a black screen. Why? Can someone help me?

  • Ercan Bey, Flex ile export ettiğim apk dosyalarını bi türlü tablet ve telefonda çalıştırmayı başaramadım. Telefonda adroid 2.1 paket ayrıştırma hatası, tablet de ise uygulama yüklemedi hatası vermekte. Her iki cihazda da air 2.5 yüklü. Bu konuda yardımınıza ihtiyacım var. Şimdiden teşekkür ederim.

  • I have followed the above steps and have come to Step 16 and got stuck. This is because in Flash CS5/CS5.5 in the “Deployment Settings” tab, under the “After Publish” section, after selecting the two check box options given, the option of locating the “adb.exe” in the android-sdk tools folder is not available in either Flash CS5 or Flash CS5.5.

    What do I do now? How do I proceed? Can anyone help?

  • Yaşar Bey, hangi Flex versiyonuna göre publish ettiğinizi söylerseniz daha kolay yardımcı olablirim. Ayrıca her telefonda her uygulama çalışmayabilir, cihazların üzerindeki codecler olsun, hardware acceleration olsun uygulama yüklemede sorun yaratabilir. Daha ayrıntılı bilgi verebilirseniz yardımcı olabilirim.

  • Why I see only a black screen on my Emulator?

Post comment

Spam Protection by WP-SpamFree