Flash Builder launch failed - invalid application descriptor: Unknown namespace

后端 未结 1 826
清歌不尽
清歌不尽 2020-12-12 05:28

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 terminate

相关标签:
1条回答
  • 2020-12-12 05:37

    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.

    0 讨论(0)
提交回复
热议问题