Skip to main content
Known Participant
February 13, 2011
Answered

How to compile the AIR app to android emulator

  • February 13, 2011
  • 2 replies
  • 1166 views

How to compile the AIR application to run on emulator ?

May be use the 'adb' command line ?

This topic has been closed for replies.
Correct answer

You can packge using adt -package command

-target The type of package to create. The supported package types are:

air — an AIR package. “air” is the default value and the -target flag does not need to be specified when creating AIR or AIRI files.

airn — a native application package for devices in the extended television profile.

native — a native desktop installer. The type of file produced is the native installation format of the operating system on which the command is run:

EXE — Windows

DMG — Mac

DEB — Ubuntu Linux

RPM — Fedora or OpenSuse Linux

apk — an Android package. A package produced with this target can only be installed on an Android device, not an emulator.

apk-debug — an Android package with extra debugging information. (The SWF files in the application must also be compiled with debugging support.)

apk-emulator — an Android package for use on an emulator without debugging support. (Use the apk-debug target to permit debugging on both emulators and devices.)

Use the value as per your need. The you can use adb to push the packaged apk to your emulator.

2 replies

Correct answer
February 13, 2011

You can packge using adt -package command

-target The type of package to create. The supported package types are:

air — an AIR package. “air” is the default value and the -target flag does not need to be specified when creating AIR or AIRI files.

airn — a native application package for devices in the extended television profile.

native — a native desktop installer. The type of file produced is the native installation format of the operating system on which the command is run:

EXE — Windows

DMG — Mac

DEB — Ubuntu Linux

RPM — Fedora or OpenSuse Linux

apk — an Android package. A package produced with this target can only be installed on an Android device, not an emulator.

apk-debug — an Android package with extra debugging information. (The SWF files in the application must also be compiled with debugging support.)

apk-emulator — an Android package for use on an emulator without debugging support. (Use the apk-debug target to permit debugging on both emulators and devices.)

Use the value as per your need. The you can use adb to push the packaged apk to your emulator.

February 13, 2011

-target The type of package to create. The supported package types are:

air — an AIR package. “air” is the default value and the -target flag does not need to be specified when creating AIR or AIRI files.

airn — a native application package for devices in the extended television profile.

native — a native desktop installer. The type of file produced is the native installation format of the operating system on which the command is run:

EXE — Windows

DMG — Mac

DEB — Ubuntu Linux

RPM — Fedora or OpenSuse Linux

apk — an Android package. A package produced with this target can only be installed on an Android device, not an emulator.

apk-debug — an Android package with extra debugging information. (The SWF files in the application must also be compiled with debugging support.)

apk-emulator — an Android package for use on an emulator without debugging support. (Use the apk-debug target to permit debugging on both emulators and devices.)

Use the value as per your need. The you can use adb to push the packaged apk to your emulator.