Search code examples
androidairflash-builder

Getting an error Adobe AIR version not installed error


I'm getting an error when trying to debug my AIR app on Android, "Device appears to be offline". It used to work. I have AIR installed. I'm not sure what changed. I think maybe AIR was updated and that changed something but I'm guessing.

I've attached an image.

enter image description here

I've restarted the device a few times. I'm using Flash Builder 4.7. I have AIR 3.6.0.597 installed. USB Debugging is enabled. It's also connected as a Media device (MTP) which I may have accidentally turned on (but I'm not sure and it doesn't seem there's a way to turn this off).


Solution

  • So here's how I got debugging to work for the following.

    I'm using Mac OSX 10.8.2, Nexus 7, Flash Builder 4.7 and AIR: 3.6.

    1. Download the latest Android SDK here: http://developer.android.com/sdk/index.html
    2. Unzip it and copy aapt, adb and dx.jar from the [android-sdk]\platform-tools\ directory (dx.jar is in the \platform-tools\lib directory).
    3. Paste these files in the [FLEX_SDK_AIR_3.6]\lib\android\bin directory.
    4. Restart Flash Builder

    I think the dx.jar is necessary when creating the release build.

    There's another issue that may be related, Error SDK component at air/android/device/runtime.apk is out of date. Still trying to figure this one out.