7 Replies Latest reply on Apr 17, 2013 10:35 AM by kglad

    Help Please


      I am trying to use the android emulator thru flash.  When I set up my file to the emulator it says I need to install air on the emulator.  I saw on youtube that you need to adjust the bat file in adobe.  The only problem is that I am not showing an android file in flash to have the bat link to any help would be appriciated

        • 1. Re: Help Please
          kglad Adobe Community Professional & MVP

          you need to install air on your emulator(s).

          • 2. Re: Help Please
            diamondback073 Level 1

            I understand that and tried to do that through the command line but no such luck.  I don't have an android phone to use to test that's why I am using an emulator by android Sdk to test my mobile app for class.

            • 3. Re: Help Please
              kglad Adobe Community Professional & MVP

              which command line interpreter?


              Android Debug Bridge or Adobe Air Developer Tool?

              • 4. Re: Help Please
                diamondback073 Level 1

                adobe air developer tool I went to the bat file for air 3.4 in flash and that's where I went into command mode to insert the info for the emulator . I did step by step what one of the YouTube videos said to do but like I said no such luck because in the flash file there was no android file to link to I'm frustrated as heck spent countless hrs trying to figure it out ill have to talk to my instructor about it maybe he had an idea unless you or someone else does

                • 5. Re: Help Please
                  kglad Adobe Community Professional & MVP

                  this is an excerpt from a book i wrote:


                  The command required to execute adt and have it add the Air runtime to my emulator-5556 is:

                  F:Downloads\AdobeAir\AdobeAIRSDK\bin\adt -installRuntime -platform android -device emulator-5556 -package F:Downloads\AdobeAir\AdobeAIRSDK\runtimes\air\android\emulator\Runtime.apk

                  That is clearly a ridiculous amount of typing with far too many opportunities for typos.  If you navigate to your AdobeAIRSDK directory in the command-line interpreter, you can use shorter local paths:

                  \bin\adt -installRuntime -platform android -device emulator-5556 -package \runtimes\air\android\emulator\Runtime.apk

                  Your local paths will look exactly the same though the location of your AdobeAIRSDK directory will be different from mine.  But it is still too much tedious typing especially because you have to navigate to the AdobeAIRSDK directory before you can use that shorter command.

                  So, the benefit of adding the path to adt.bat is significant if you are going to use adt to install the runtime and games onto Android emulator(s).

                  To add the path to adt to your system path in Windows, click start > right click My Computer > click properties > click Advanced system settings > click Environment Variables > in the System variables field, click path > click Edit... > arrow to the last entry of the Variable value line > append a semi-colon > type the full path to your AdobeAir\AdobeAIRSDK\bin directory > click OK.

                  You can now type adt from anywhere in your command-line editor and adt in the AdobeAIRSDK\bin directory will execute.  So, to install the Adobe Air runtime on one of your emulators, start an emulator (using AVD Manager).  After it has completed its load sequence, you can find your device name(s) by executing

                  adt devices

                  at the command-line prompt from the C:\Program Files (x86)\Android\android-sdk\platform-tools\ directory or from anywhere if you add C:\Program Files (x86)\Android\android-sdk\platform-tools\ to your system path.

                  You can now navigate to the directory where you extracted the Adobe Air SDK (AdobeAIRSDK\runtimes\air\android\emulator\Runtime.apk) and type

                  adt -installRuntime -platform android -device emulator-xyzw -package Runtime.apk

                  where emulator-xyzw is your device name found using the devices command (and can also be found in your taskbar if you are using Windows).

                  1 person found this helpful
                  • 6. Re: Help Please
                    diamondback073 Level 1

                    thxs ill try that when I get home I appreciate you helping me out

                    • 7. Re: Help Please
                      kglad Adobe Community Professional & MVP

                      you're welcome.