使用air sdk.
参考文档:
http://help.adobe.com/zh_CN/air/build/WS901d38e593cd1bac1e63e3d128cdca935b-8000.html
http://help.adobe.com/zh_CN/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7f72.html
http://help.adobe.com/zh_CN/air/build/WS901d38e593cd1bac-4f1413de12cd45ccc23-8000.html
http://help.adobe.com/en_US/air/build/WSBE9908A0-8E3A-4329-8ABD-12F2A19AB5E9.html
java -jar C:\Users\joycube2\Downloads\AIRSDK_Compiler\lib\adt.jar -package -target apk-captive-runtime -storetype jks -keystore cer/android.keystore bin/MyGame.apk src/MyGame-app.xml src/BattleHeroMovieTest.swf assets
如果在windows下报找不到icon的错误,请注意上面指令中最后加上assets路径
还有一个重要的参考:
https://code.google.com/p/android-java-air-bridge/w/list
0 条评论。