在Flex4 中,运行一个Flex application程序时,
报错如下:
Process terminated unexpectedly.
application descriptor not found
Launch command details: D:\java\Adobe\flexsdk\bin\adl.exe -runtime D:\java\Adobe\flexsdk\runtimes\air\win D:\backup\rds\RDSMobile\bin-debug\ui\step\DynamicMenu-app.xml D:\backup\rds\RDSMobile\bin-debug\ui\step
通常是由于所运行的application在项目src中的位置和在 项目bin-debug, bin-release-temp中的位置不一致导致的。
如果不一致,进行调整,否则,按照如下办法进行解决、
解决办法如下:
- Open the yourAppName-app.xml file that is sat in the src folder of your project, search for the <content> tag, delete whatever default rubbish exists between the tags, and replace it with yourAppName.swf (where ‘yourAppName’ should be whatever you named your app!). Example:
1<content>yourAppName.swf</content> - Having saved the changes, copy the xml file over to the bin-debug folder (copy, not move, else Flex will complain).
Note: only edits made to bin-debug/yourAppName-app.xml will take effect.
本文讨论了在使用Flex4开发应用时遇到的Process terminated unexpectedly. application descriptor not found错误,通常由应用在项目目录中的位置不一致引起。提供了解决方案,包括修改app.xml文件和复制文件到指定目录。
5549

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



