【问题标题】:"application descriptor not found" with Flash Professional project in Flash Builder 4.6Flash Builder 4.6 中的 Flash Professional 项目“找不到应用程序描述符”
【发布时间】:2014-12-08 17:43:27
【问题描述】:

环境: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 中运行该项目,但我想专门使用 Flash Builder,除了 .fla 任务。

我在 Flash Pro 中构建了一个准系统测试项目,将属性设置为“AIR 桌面”并发布了一个 AIR-with-captive-runtime 应用程序——这样就可以了。我通过 将该项目引入了 Flash Builder新建 > Flash Professional" 序列。问题开始了:

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

  2. 如果我尝试使用无效的桌面配置进行调试,则会收到“找不到应用程序描述符”错误。我在项目中有由 Flash 创建的应用程序描述符,并且看不到任何明确将 Flash builder 指向它的方法。 (为了完整起见,下面包含应用程序描述符。我没有手动编辑。)

我很困惑——我已经在这上面呆了好几个小时了。有人知道秘密握手吗?

Flash Builder 中的项目结构:


运行配置错误:

应用程序描述符:

<?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>

【问题讨论】:

    标签: flash air flash-builder


    【解决方案1】:

    终于找到了答案:

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

    1. Cmd/Control-单击侧边栏中的项目名称以显示上下文菜单并选择“添加/更改项目类型”并选择“转换...”等。


    1. 这会打开另一个窗口,其中包含一些选项

    【讨论】:

      猜你喜欢
      • 2012-02-27
      • 2012-02-13
      • 1970-01-01
      • 2012-08-27
      • 2018-01-21
      • 1970-01-01
      • 1970-01-01
      • 2011-08-03
      • 1970-01-01
      相关资源
      最近更新 更多