首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 媒体动画 > flex >

Flex 四:application descriptor not found

2012-10-07 
Flex 4:application descriptor not found在Flex4 中,运行一个Flex application程序时,?报错如下:?Process

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

?

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

?

解决办法如下:

?

    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.

热点排行