Flex 4:application descriptor not found

本文讨论了在使用Flex4开发应用时遇到的Process terminated unexpectedly. application descriptor not found错误,通常由应用在项目目录中的位置不一致引起。提供了解决方案,包括修改app.xml文件和复制文件到指定目录。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值