"未发现应用程序描述"在Flash Builder 4.6 Flash Professional项目 [英] "application descriptor not found" with Flash Professional project in Flash Builder 4.6

查看:355
本文介绍了"未发现应用程序描述"在Flash Builder 4.6 Flash Professional项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

环境:Flash Builder中4.6时,Flash Professional CS6,AIR 15,OSX 10.9.3。 AIR 15安装的Flash Builder和Flash Professional中。

我试图让Flash Builder的4.6运行/调试的.fla / AIR桌面项目。我可以编辑code在Flash Builder和Flash运行项目Pro,但我想使用Flash Builder只,除了.fla文件的任务。

我建了一个准系统测试项目在Flash专业版,设置属性为AIR桌面,并发表了AIR-与-圈养运行的应用程序 - 这样的作品我通过的带来的项目到Flash Builder。新建> Flash Professional中的顺序有问题开始:

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

  2. 如果我尝试用无效的桌面配置,调试然后我得到错误找不到应用程序描述符。我由Flash在项目中创建正确的有应用程序描述符并没有看到任何方式,在它明确地指向Flash Builder中。 (应用程序描述符包含下面的完整性,我没有手动编辑。)

我百思不得其解 - 并已在这几个小时。有谁知道这个秘密的握手?

在Flash Builder中的项目结构:


运行配置错误:

应用描述:

 < XML版本=1.0编码=UTF-8独立=是&GT?;
<应用的xmlns =htt​​p://ns.adobe.com/air/application/15.0>
    < ID> AIR-调试和LT; / ID>
    <的versionNumber> 1.0< /的versionNumber>
    <文件名> AIR_Debug< /文件名>
    <描述>< /描述>
    <! - 要本地化的描述,可以使用以下格式的描述元素。
    <描述>
        <文字XML:LANG =EN>英语应用说明进入此处< /文>
        <文字XML:LANG =FR>法语应用说明进入此处< /文>
        <文字XML:LANG =JA:日本应用的描述去此处< /文>
    < /描述>
     - >
    <名称>&AIR_Debug LT; /名称>
    <! - 要本地化的名称,请使用以下格式为name元素。
    <名称>
        <文字XML:LANG =EN>英语应用程序名称转到此处< /文>
        <文字XML:LANG =FR>法语应用程序名称进入此处< /文>
        <文字XML:LANG =JA:日本应用程序名称进入此处< /文>
    < /名称>
     - >
    <版权>< /版权>
    < initialWindow>
        <内容> AIR_Debug.swf< /内容>
        <的systemChrome>标准< /的systemChrome>
        <透明>假< /透明>
        &其中;可见>真&所述; /可见光>
        <全屏>假< /全屏>
        <在autoOrients>假< /在autoOrients>
        <的aspectRatio>人像< /的aspectRatio>
        < renderMode>自动< / renderMode>
        <最大化>真< /最大化>
        <可最小化>真< /可最小化>
        <可调整大小>真< /可调整大小>
    < / initialWindow>
    < customUpdateUI>假< / customUpdateUI>
    < allowBrowserInvocation设置>假< / allowBrowserInvocation设置>
    <图标>< /图标>
< /用途>
 

解决方案

终于找到一个答案:

目前在Flash Builder选项从一个Web项目转换为桌面项目

  1. 在命令/项目名称在侧边栏控制单击以显示上下文菜单,然后选择添加/更改项目类型,然后选择转换......等。


<醇开始=2>
  • 这带来了另一个窗口,在其中的几个选项
  • Environment: Flash Builder 4.6, Flash Professional CS6, AIR 15, OSX 10.9.3. AIR 15 is installed for both Flash Builder and Flash Professional.

    I am trying to get Flash Builder 4.6 to run/debug an .fla/AIR desktop project. I am able to edit code in Flash Builder and run the project in Flash Pro but I would like to use Flash Builder exclusively, aside from .fla tasks.

    I built a barebones test project in Flash Pro, set the properties to 'AIR desktop" and published an AIR-with-captive-runtime app – so that works. I brought the project into Flash Builder through the "New > Flash Professional" sequence. There the problems start:

    1. The only build configuration Flash Builder uses for FLash Pro project is web application and it will not let me create a valid desktop configuration. See screenshot below.

    2. If I try to debug with the invalid desktop configuration then I get the "application descriptor not found" error. I have the application descriptor created by Flash right there in the project and do not see any way to explicitly point Flash builder at it. (application descriptor included below for completeness. I have not edited manually.)

    I am baffled – and have been at this for hours. Does anyone know the secret handshake?

    Project Structure in Flash Builder:


    Run Configuration Error:

    Application Descriptor:

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

    解决方案

    Finally found an answer to this:

    There is an option in Flash Builder to convert from a Web Project to a Desktop Project

    1. Cmd/Control-click on the project name in the sidebar to display the context menu and select "Add/Change Project Type" and select "Convert..." etc.


    1. This brings up another window with a few options in it

    这篇关于&QUOT;未发现应用程序描述&QUOT;在Flash Builder 4.6 Flash Professional项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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