Flash Builder 启动失败 - 无效的应用程序描述符:未知命名空间 [英] Flash Builder launch failed - invalid application descriptor: Unknown namespace

查看:34
本文介绍了Flash Builder 启动失败 - 无效的应用程序描述符:未知命名空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很难在我的机器上运行 Flex 移动项目.当我尝试运行该项目时,出现以下错误:

<块引用>

进程意外终止.

无效的应用程序描述符:未知命名空间:

您也可以在创建新项目时更简单地获得它:

在我的例子中是:3.1.0,所以在我的 project-app.xml 中,我应该输入:

就我而言,我安装了许多 Flex 和 AIR SDK 的组合.

希望能帮到你.

I'm having difficulty getting a Flex mobile project to run on my machine. When I try and run the project I get the following error:

Process terminated unexpectedly.

invalid application descriptor: Unknown namespace: http://ns.adobe.com/air/application/16.0

Launch command details: "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\sdks\4.6.0\bin\adl.exe" -runtime "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\sdks\4.6.0\runtimes\air\win" -profile mobileDevice -screensize 320x460:320x480 -XscreenDPI 163 -XversionPlatform IOS "C:\Users\dean.grobler\Adobe Flash Builder 4.7\ProsperityHealth\bin-debug\ProsperityHealth-app.xml" "C:\Users\dean.grobler\Adobe Flash Builder 4.7\ProsperityHealth\bin-debug"

I'm using Flash Builder 4.7. I've tried to read up on similar issues on the web but the few answers that I'm finding either don't work or are very vague.

解决方案

Your problem is just you have indicate an unavailable AIR SDK version (16) for your current used Flex SDK (4.6.0).

So to avoid such problem you can :

  • 1. Use the installed AIR SDK version with your Flex 4.6.0 SDK which is usually 3.x ( if you didn't have upgraded it ).

  • 2. Install the AIR SDK version 16 for your Flex 4.6.0 SDK.


How ?

1. You can get the installed version of the AIR SDK of your Flex SDK by running the AIR Debug Launcher (ADL) exe which is : "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\sdks\4.6.0\bin\adl.exe" using cmd.exe :

You can also get it more simply when creating a new project :

In my case it's : 3.1.0, so in my project-app.xml, I should put :

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

2. To upgrade the AIR SDK version of a Flex SDK, we do :

  • a. Make a backup ( if you want ) of your current SDK dir, which is in your case here : "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\sdks\4.6.0". You can in any time download any Flex SDK version from Sourceforge.

  • b. Download your desired AIR SDK ( version 16 for your case ) from Adobe here, the SDK not the runtime of course, and you don't need the compiler also, just the SDK.

  • c. Unzip the downloaded file ( a zip archive ) and then copy its content and paste it into the Flex SDK dir with overwriting any existing content.

  • d. Finally, open Flash Builder and create a new project and select your appropriate AIR SDK :

In my case, I installed many combinations of Flex and AIR SDKs.

Hope that can help.

这篇关于Flash Builder 启动失败 - 无效的应用程序描述符:未知命名空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆