使用Flash Builder 4.6中的Flash Professional项目“找不到应用程序描述符”

时间:2014-10-14 03:33:11

标签: flash air flash-builder

环境:Flash Builder 4.6,Flash Professional CS6,AIR 15,OSX 10.9.3。为Flash Builder和Flash Professional安装了AIR 15。

我正在尝试让Flash Builder 4.6运行/调试.fla / AIR桌面项目。我能够在Flash Builder中编辑代码并在Flash Pro中运行该项目,但除了.fla任务外,我还想专门使用Flash Builder。

我在Flash Pro中构建了一个准系统测试项目,将属性设置为' AIR桌面"并发布了一个AIR-with-captive-runtime应用程序 - 这样才有用。我通过" New>将项目带入了Flash Builder。 Flash Professional" 序列。问题出现了:

  1. Flash Builder用于FLash Pro项目的唯一构建配置是Web应用程序,它不会让我创建有效的桌面配置。见下面的截图。

  2. 如果我尝试使用无效的桌面配置进行调试,那么我会找不到"应用程序描述符"错误。我在项目中有Flash创建的应用程序描述符,并且没有任何方法明确指出Flash构建器。 (完整性包含在下面的应用程序描述符。我没有手动编辑。)

  3. 我很困惑 - 并且已经在这里待了好几个小时。有谁知道秘密握手?

    Flash Builder中的项目结构:

    enter image description here


    运行配置错误:

    enter image description here

    应用程序描述符:

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <application xmlns="http://ns.adobe.com/air/application/15.0">
        <id>AIR-Debug</id>
        <versionNumber>1.0</versionNumber>
        <filename>AIR_Debug</filename>
        <description></description>
        <!-- To localize the description, use the following format for the description element.
        <description>
            <text xml:lang="en">English App description goes here</text>
            <text xml:lang="fr">French App description goes here</text>
            <text xml:lang="ja">Japanese App description goes here</text>
        </description>
        -->
        <name>AIR_Debug</name>
        <!-- To localize the name, use the following format for the name element.
        <name>
            <text xml:lang="en">English App name goes here</text>
            <text xml:lang="fr">French App name goes here</text>
            <text xml:lang="ja">Japanese App name goes here</text>
        </name>
        -->
        <copyright></copyright>
        <initialWindow>
            <content>AIR_Debug.swf</content>
            <systemChrome>standard</systemChrome>
            <transparent>false</transparent>
            <visible>true</visible>
            <fullScreen>false</fullScreen>
            <autoOrients>false</autoOrients>
            <aspectRatio>portrait</aspectRatio>
            <renderMode>auto</renderMode>
            <maximizable>true</maximizable>
            <minimizable>true</minimizable>
            <resizable>true</resizable>
        </initialWindow>
        <customUpdateUI>false</customUpdateUI>
        <allowBrowserInvocation>false</allowBrowserInvocation>
        <icon></icon>
    </application>
    

1 个答案:

答案 0 :(得分:0)

终于找到了答案:

Flash Builder中有一个选项可以从Web项目转换为桌面项目

  1. Cmd / Control-单击侧栏中的项目名称以显示上下文菜单,然后选择&#34;添加/更改项目类型&#34;并选择&#34;转换...&#34;等
  2. enter image description here


    1. 这会打开另一个窗口,里面有几个选项
    2. enter image description here

相关问题