简体   繁体   English

打包在AIR中的Flex应用程序不显示其窗口

[英]Flex application packaged in AIR doesn't show it's window

I have a Flex application that builds and runs from Eclipse without any problems. 我有一个Flex应用程序,它可以从Eclipse生成并运行,没有任何问题。 I've created an Ant build based on the sample provided by Adobe and builds the application and packages it up into an AIR application. 我已经根据Adobe提供的示例创建了一个Ant构建,并构建了该应用程序并将其打包到AIR应用程序中。 No errors occur during the build process and an AIR file is created. 在生成过程中没有错误发生,并且创建了AIR文件。

The problem is that when I install the AIR application and run it, there is no UI at all. 问题是,当我安装AIR应用程序并运行它时,根本没有UI。 The process is running because I can see it in Task Manager but I can't see the app window. 该进程正在运行,因为我可以在任务管理器中看到它,但是看不到应用程序窗口。 I've commented out all of my initial code so just the first window should appear but still nothing. 我已经注释掉了所有初始代码,因此应该只显示第一个窗口,但什么也没有。

Is there anything that I might have missed in the build to cause this problem? 我可能会在构建中错过任何导致此问题的内容吗?

Thanks in advance 提前致谢

Andy 安迪

OK, found the problem. 好的,找到问题了。 Turns out I was missing the following parameter in the Ant build script: 原来我在Ant构建脚本中缺少以下参数:

<arg value="-include-libraries=${libs}"/>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM