流傳了兩種配置app.xml的方法,分別是:app
<supportedProfiles>extendedDesktop</supportedProfiles>
<supportedProfiles>desktop extendedDesktop</supportedProfiles>測試
經測試發現,第二種方式在IDE中調試程序會出問題,當我調用exe的時候會報錯:
Error: Error #3219: The NativeProcess could not be started. 'Not supported in current profile.'
而發佈打包的時候就不會報錯,固然發佈的時候必定要選擇發佈成exe安裝程序(注意)。spa
編譯exe文件:調試
air 在調用外部程序時.在打包和發佈的過程.須要作如下規範. 視頻