流传了两种配置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 在调用外部程序时.在打包和发布的过程.须要作如下规范. 视频