Why does the emulator keep asking me to install AIR Runtime - then won't install it?
thanks
Robert
if you're using adb, execute adb and have it add the Air runtime to your emulator (eg, emulator-xyzw):
C:\Program Files (x86)\Android\android-sdk\platform-tools\adb -s emulator-xyzw install F:\Downloads\AdobeAir\AdobeAIRSDK\runtimes\air\android\emulator\Runti me.apk
Your command will be different. However, it will not be much, if any, shorter unless you add adb to your system path. then if you navigate to the directory where you extracted the Adobe Air SDK (AdobeAIRSDK\runtimes\air\android\emulator\Runtime.apk), you can use:
adb -s emulator-xyzw install Runtime.apk
if you're using adt, you will use something like:
F:Downloads\AdobeAir\AdobeAIRSDK\bin\adt -installRuntime -platform android -device emulator-xyzw -package F:Downloads\AdobeAir\AdobeAIRSDK\runtimes\air\android\emulator\Runtim e.apk
if you add adt to your system path and if you navigate to the directory where you extracted the Adobe Air SDK (AdobeAIRSDK\runtimes\air\android\emulator\Runtime.apk), you can use:
adt -installRuntime -platform android -device emulator-xyzw -package Runtime.apk
Thanks, yes that got it. However, it doesn't stay installed? Each time I start the Emulator, it will then ask for the runtime AIR to be installed.
Is there some way of building it in as it were?
I first did
adb devices
to list my device, a Nexus-One emulator, listed as emulator-5554
then
c:\adt-bundle-windows-x86_64-20130219\adt-bundle-windows-x86_64-201302 19\sdk\platform-tools>adb -s emulator-5554 install C:\flex_sdk_4.6.0.23201\runtimes\air\an
droid\emulator\Runtime.apk
adb server is out of date. killing...
* daemon started successfully *
72 KB/s (7787874 bytes in 105.253s)
pkg: /data/local/tmp/Runtime.apk
Success
North America
Europe, Middle East and Africa
Asia Pacific