ADT launchApp commandThe -launchApp command runs an installed app on a device or emulator. The command uses the following syntax: adt -launchApp -platform platformName -platformsdk path_to_sdk -device deviceID -appid applicationID -platform The name of the platform of the device. Currently this command is only supported on the Android platform. Use the name, android. -platformsdk The path to the SDK for the target device. This value does not need to be supplied on the command line if the AIR_ANDROID_SDK_HOME environment variable is set. (If both are set, then the path provided on the command line is used.) -device The serial number of the device. The device only needs to be specified when more than one device or emulator is attached to your computer and running. If the specified device is not connected, ADT returns exit code 14: Device error. If more than one device or emulator is connected and a device is not specified, ADT returns exit code 2: Usage error. On Android, use the Android ADB tool to list the serial numbers of attached devices and running emulators: adb devices -appid The AIR application ID of the installed application. If no application with the specified ID is installed on the device, then ADT returns exit code 14: Device error. |
|