一、 下载AIR3 SDK
二、 修改Aplication.xml
1. 修改xmlns为3.0
xmlns="http://ns.adobe.com/air/application/3.0"
2. 取消Profiles的注释
android用
<supportedProfiles>mobileDevice extendedMobileDevice</supportedProfiles>
desktop用
<supportedProfiles>desktop extendedDesktop</supportedProfiles>
三、用AIR 3 SDK bin目录下的adt命令行打包
adt
-package
-target apk-captive-runtime
-storetype pkcs12
-keystore yourkey.p12
-storepass yourpassword
Demo.apk
Demo-app.xml
Demo.swf
上面是android的,desktop把-target apk-captive-runtime换成-target bundle