升级到Flex 4.5 Air 2.6

So if you’re upgrading to Flex SDK 4.5 and Air 2.6 Adobe’s changing/moving things around again w/ the descriptor file (MyApp-app.xml).? If you get this error:

Process terminated unexpectedly.

invalid application descriptor: versionNumber must have a non-empty value.

Launch command details:? "/Applications/Adobe Flash Builder 4.5/sdks/4.5.0/bin/adl" -runtime "/Applications/Adobe Flash Builder 4.5/sdks/4.5.0/runtimes/air/mac"

All you need to do is replace this:

<version>0.1.0 Alpha 1</version>

With this:

<versionNumber>0.1.0</versionNumber>
<versionLabel>0.1.0 Alpha 1</versionLabel>

Also you may have an error prior to run:

Namespace 2.0.0 in the application descriptor file should be equal or higher than the minimum version 2.6.0 required by Flex SDK<.code>

Just change this:

<application xmlns="http://ns.adobe.com/air/application/2.0">

to this:

<application xmlns="http://ns.adobe.com/air/application/2.6">

Hope this helps someone.

Slainte.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理

相关文章

开始在上面输入您的搜索词,然后按回车进行搜索。按ESC取消。

返回顶部