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.:
For physical device:
"C:\Program Files\Adobe\Adobe Flash Builder Burrito\sdks\4.5.0\bin\adt.bat" -package -target [b]apk[/b] -storetype pkcs12 -keystore d:\123.p12 mobitest.apk MobileEmuTest-app.xml .
For emulator:
"C:\Program Files\Adobe\Adobe Flash Builder Burrito\sdks\4.5.0\bin\adt.bat" -package -target [b]apk-emulator[/b] -storetype pkcs12 -keystore d:\123.p12 mobitest.apk MobileEmuTest-app.xml .
So adt.exe/jar is ok, you just need to provide different -target value, i.e.:
For physical device:
"C:\Program Files\Adobe\Adobe Flash Builder Burrito\sdks\4.5.0\bin\adt.bat" -package -target [b]apk[/b] -storetype pkcs12 -keystore d:\123.p12 mobitest.apk MobileEmuTest-app.xml .
For emulator:
"C:\Program Files\Adobe\Adobe Flash Builder Burrito\sdks\4.5.0\bin\adt.bat" -package -target [b]apk-emulator[/b] -storetype pkcs12 -keystore d:\123.p12 mobitest.apk MobileEmuTest-app.xml .
本文介绍在Adobe Flash Builder中使用adt命令为物理设备和模拟器创建APK的具体步骤及所需的不同目标值参数。对于物理设备,命令使用-target apk选项,而对于模拟器则使用-target apk-emulator选项。
4950

被折叠的 条评论
为什么被折叠?



