`
lxs647
  • 浏览: 523245 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Flex 4:application descriptor not found

 
阅读更多

在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中的位置不一致导致的。

 

如果不一致,进行调整,否则,按照如下办法进行解决、

 

解决办法如下:

 

  1. 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>
  2. 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.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics