Copy link to clipboard
Copied
Hi,
I would like to install my AIR Android with ADT from the command line. I tried it with the string below but got errors like "app icons are missing":
adt -package -target apk-debug -connect -storetype pkcs12 -keystore myapp_android.p12 myapp.apk myapp-app.xml myapp.swf
What do I need to add to make it work?
Many thanks
Copy link to clipboard
Copied
App icons missing shouldn't stop it from building. Here's the article on ADT:
Adobe AIR * AIR Developer Tool (ADT)
It does just build the APK, it doesn't install it. I think you will need to use ADB for that.
Copy link to clipboard
Copied
Do I need to install something to use ADB? Can you please give me an example command to install an APK? Many thanks
Copy link to clipboard
Copied
Hi, blogtom‌
You do not need to install anything to use adb.
adb is present in the AIR SDK folder in following path. If you cannot find it, you can search it by file name adb inside the AIR SDK.
<AIRSDK_ROOT>/lib/android/adbyou can easily install the apk file using the adb install command.
The below example shows installing a apk named Game.apk to an android device connected to your machine.
adb install Game.apkThanks
Roshan
Copy link to clipboard
Copied
Use this command:
<AIRSDK_ROOT>/lib/android/adb install -r <apk Name>
-r used to: replace existing application
Thanks
Piyush
Copy link to clipboard
Copied
Hi,
This is the command to install app on your device:
adt -installApp PLATFORM-OPTION PLATFORM-SDK-OPTION? DEVICE-OPTION? -package <apk-file | ipa-file>
e.g: adt -installApp -platform ios -package <your ipa name>
Thanks
Piyush
Copy link to clipboard
Copied
I tried it and got this error: install failed already exists
How to install an APK without uninstall it before? I used this command:
adt -installApp -platform android -package example.apk
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more