Thursday, October 18, 2012

Android: How to install Adobe AIR on Android emulator?

To install Adobe AIR run-time on Android emulator, follow this format for creating the batch file:


$ [drive-name]:
$ cd "[path-to-android-sdk]\android-sdk-windows\platform-tools"
$ adb -e install -r "[path-to-AIR-runtime-apk-file]"

Sample for Adobe Flash CS5.5:

$ d:
$ cd "D:\Programs\android-sdk_r15-windows\android-sdk-windows\platform-tools"
$ adb -e install -r "C:\Program Files (x86)\Adobe\Adobe Flash CS5.5\AIR2.6\runtimes\air\android\emulator\Runtime.apk"

Sample for Adobe Flash Builder 4.5:

$ d:
$ cd "D:\Programs\android-sdk_r15-windows\android-sdk-windows\platform-tools"
$ adb -e install -r "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks\4.5.0\runtimes\air\android\emulator\Runtime.apk"

Note: The system should have Adobe Flash CS5.5 installed prior to running this batch file.

No comments:

Post a Comment