flex builder 4 xml 文件中出现未知错误?

发布于 2024-09-30 13:33:24 字数 5682 浏览 0 评论 0原文

这是 Flex 构建器显示的错误:

Unknown error generating output application.xml files. Check the Eclipse error log for more details.    /Day View/src/view  Unknown AIR application.xml Problem DayView-app.xml

这是由 Flex 构建器自动生成但给出未知错误的 xml 文件:

<!-- The application identifier string, unique to this application. Required. -->
<id>DayView</id>

<!-- Used as the filename for the application. Required. -->
<filename>DayView</filename>

<!-- The name that is displayed in the AIR application installer. 
     May have multiple values for each language. See samples or xsd schema file. Optional. -->
<name>DayView</name>

<!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
<version>v1</version>

<!-- Description, displayed in the AIR application installer.
     May have multiple values for each language. See samples or xsd schema file. Optional. -->
<!-- <description></description> -->

<!-- Copyright information. Optional -->
<!-- <copyright></copyright> -->

<!-- Settings for the application's initial window. Required. -->
<initialWindow>
    <!-- The main SWF or HTML file of the application. Required. -->
    <!-- Note: In Flex Builder, the SWF reference is set automatically. -->
    <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>

    <!-- The title of the main window. Optional. -->
    <!-- <title></title> -->

    <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
    <!-- <systemChrome></systemChrome> -->

    <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
    <!-- <transparent></transparent> -->

    <!-- Whether the window is initially visible. Optional. Default false. -->
    <!-- <visible></visible> -->

    <!-- Whether the user can minimize the window. Optional. Default true. -->
    <!-- <minimizable></minimizable> -->

    <!-- Whether the user can maximize the window. Optional. Default true. -->
    <!-- <maximizable></maximizable> -->

    <!-- Whether the user can resize the window. Optional. Default true. -->
    <!-- <resizable></resizable> -->

    <!-- The window's initial width. Optional. -->
    <!-- <width></width> -->

    <!-- The window's initial height. Optional. -->
    <!-- <height></height> -->

    <!-- The window's initial x position. Optional. -->
    <!-- <x></x> -->

    <!-- The window's initial y position. Optional. -->
    <!-- <y></y> -->

    <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
    <!-- <minSize></minSize> -->

    <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
    <!-- <maxSize></maxSize> -->
</initialWindow>

<!-- The subpath of the standard default installation location to use. Optional. -->
<!-- <installFolder></installFolder> -->

<!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
<!-- <programMenuFolder></programMenuFolder> -->

<!-- The icon the system uses for the application. For at least one resolution,
     specify the path to a PNG file included in the AIR package. Optional. -->
<!-- <icon>
    <image16x16></image16x16>
    <image32x32></image32x32>
    <image48x48></image48x48>
    <image128x128></image128x128>
</icon> -->

<!-- Whether the application handles the update when a user double-clicks an update version
of the AIR file (true), or the default AIR application installer handles the update (false).
Optional. Default false. -->
<!-- <customUpdateUI></customUpdateUI> -->

<!-- Whether the application can be launched when the user clicks a link in a web browser.
Optional. Default false. -->
<!-- <allowBrowserInvocation></allowBrowserInvocation> -->

<!-- Listing of file types for which the application can register. Optional. -->
<!-- <fileTypes> -->

    <!-- Defines one file type. Optional. -->
    <!-- <fileType> -->

        <!-- The name that the system displays for the registered file type. Required. -->
        <!-- <name></name> -->

        <!-- The extension to register. Required. -->
        <!-- <extension></extension> -->

        <!-- The description of the file type. Optional. -->
        <!-- <description></description> -->

        <!-- The MIME content type. -->
        <!-- <contentType></contentType> -->

        <!-- The icon to display for the file type. Optional. -->
        <!-- <icon>
            <image16x16></image16x16>
            <image32x32></image32x32>
            <image48x48></image48x48>
            <image128x128></image128x128>
        </icon> -->

    <!-- </fileType> -->
<!-- </fileTypes> -->

here is the error the flex builder shows:

Unknown error generating output application.xml files. Check the Eclipse error log for more details.    /Day View/src/view  Unknown AIR application.xml Problem DayView-app.xml

and here is that xml file that is auto generated by flex builder but gives unknown erreor:

<!-- The application identifier string, unique to this application. Required. -->
<id>DayView</id>

<!-- Used as the filename for the application. Required. -->
<filename>DayView</filename>

<!-- The name that is displayed in the AIR application installer. 
     May have multiple values for each language. See samples or xsd schema file. Optional. -->
<name>DayView</name>

<!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
<version>v1</version>

<!-- Description, displayed in the AIR application installer.
     May have multiple values for each language. See samples or xsd schema file. Optional. -->
<!-- <description></description> -->

<!-- Copyright information. Optional -->
<!-- <copyright></copyright> -->

<!-- Settings for the application's initial window. Required. -->
<initialWindow>
    <!-- The main SWF or HTML file of the application. Required. -->
    <!-- Note: In Flex Builder, the SWF reference is set automatically. -->
    <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>

    <!-- The title of the main window. Optional. -->
    <!-- <title></title> -->

    <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
    <!-- <systemChrome></systemChrome> -->

    <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
    <!-- <transparent></transparent> -->

    <!-- Whether the window is initially visible. Optional. Default false. -->
    <!-- <visible></visible> -->

    <!-- Whether the user can minimize the window. Optional. Default true. -->
    <!-- <minimizable></minimizable> -->

    <!-- Whether the user can maximize the window. Optional. Default true. -->
    <!-- <maximizable></maximizable> -->

    <!-- Whether the user can resize the window. Optional. Default true. -->
    <!-- <resizable></resizable> -->

    <!-- The window's initial width. Optional. -->
    <!-- <width></width> -->

    <!-- The window's initial height. Optional. -->
    <!-- <height></height> -->

    <!-- The window's initial x position. Optional. -->
    <!-- <x></x> -->

    <!-- The window's initial y position. Optional. -->
    <!-- <y></y> -->

    <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
    <!-- <minSize></minSize> -->

    <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
    <!-- <maxSize></maxSize> -->
</initialWindow>

<!-- The subpath of the standard default installation location to use. Optional. -->
<!-- <installFolder></installFolder> -->

<!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
<!-- <programMenuFolder></programMenuFolder> -->

<!-- The icon the system uses for the application. For at least one resolution,
     specify the path to a PNG file included in the AIR package. Optional. -->
<!-- <icon>
    <image16x16></image16x16>
    <image32x32></image32x32>
    <image48x48></image48x48>
    <image128x128></image128x128>
</icon> -->

<!-- Whether the application handles the update when a user double-clicks an update version
of the AIR file (true), or the default AIR application installer handles the update (false).
Optional. Default false. -->
<!-- <customUpdateUI></customUpdateUI> -->

<!-- Whether the application can be launched when the user clicks a link in a web browser.
Optional. Default false. -->
<!-- <allowBrowserInvocation></allowBrowserInvocation> -->

<!-- Listing of file types for which the application can register. Optional. -->
<!-- <fileTypes> -->

    <!-- Defines one file type. Optional. -->
    <!-- <fileType> -->

        <!-- The name that the system displays for the registered file type. Required. -->
        <!-- <name></name> -->

        <!-- The extension to register. Required. -->
        <!-- <extension></extension> -->

        <!-- The description of the file type. Optional. -->
        <!-- <description></description> -->

        <!-- The MIME content type. -->
        <!-- <contentType></contentType> -->

        <!-- The icon to display for the file type. Optional. -->
        <!-- <icon>
            <image16x16></image16x16>
            <image32x32></image32x32>
            <image48x48></image48x48>
            <image128x128></image128x128>
        </icon> -->

    <!-- </fileType> -->
<!-- </fileTypes> -->

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

卷耳 2024-10-07 13:33:24

刚刚面临同样的问题。经过一番谷歌搜索后没有找到任何答案。

然后在调查 eclipse editior 后,发现错误日志:d。
窗口>显示视图>其他>选择错误日志

just faced the same problem. after some googling didnt find any answer.

then after investigating eclipse editior, found the error log :d.
window > show view > other > select error log

赠佳期 2024-10-07 13:33:24

增加堆大小,这可能是由于堆大小而导致的问题
启动

eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
--launcher.defaultAction
openFile
-nl
en_US
-vmargs
-Xms1024m
-Xmx1024m
-XX:MaxPermSize=256m
-XX:PermSize=64m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=eclipse/dropins
-Declipse.application=com.adobe.flexbuilder.standalone.FlashBuilderApplication

increase the heap size this may be problem due to heap size
startup

eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
--launcher.defaultAction
openFile
-nl
en_US
-vmargs
-Xms1024m
-Xmx1024m
-XX:MaxPermSize=256m
-XX:PermSize=64m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=eclipse/dropins
-Declipse.application=com.adobe.flexbuilder.standalone.FlashBuilderApplication
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文