Failure [INSTALL_FAILED_INVALID_APK]

there is a change when creating an apk for a device or an emulator.
So adt.exe/jar is ok, you just need to provide different -target value, i.e.:
1.   For physical device: 
“C:\Program Files\Adobe\Adobe Flash Builder Burrito\sdks\4.5.0\bin\adt.bat” -package -target apk -storetype pkcs12 -keystore d:\123.p12 mobitest.apk MobileEmuTest-app.xml .
2.    For emulator: 
“C:\Program Files\Adobe\Adobe Flash Builder Burrito\sdks\4.5.0\bin\adt.bat” -package -target apk-emulator -storetype pkcs12 -keystore d:\123.p12 mobitest.apk MobileEmuTest-app.xml .

This entry was posted in Android.

发表评论