无法导出 Adob​​e AIR 1.0 的发布版本/编译

发布于 2024-09-01 20:47:06 字数 357 浏览 0 评论 0原文

我在 Flex Builder 3 中打开了一个旧项目,该项目在 Adobe AIR 1.0 上运行。我相信它最初是用 Flex Builder 2 编写的。当我尝试运行 Adob​​e Air 应用程序时,没有任何反应。当我尝试导出发布版本时,出现此错误:

http://ns.adobe.com/air/application/1.0">

如果我更改 main-app.xml 文件以使用 1.5 版本的命名空间,它构建得很好,不幸的是,客户端环境运行在 1.0 上?

I opened up an old project in Flex Builder 3 which runs on Adobe AIR 1.0. I believe it was originally written in Flex Builder 2. When I try to run the Adobe Air application, nothing happens. When I try to export a release build, I get this error:

http://ns.adobe.com/air/application/1.0">

If I change the main-app.xml file to use the 1.5 version of the namespace, it builds fine. Unfortunately, the clients environment runs on 1.0. Ideas?

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

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

发布评论

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

评论(2

明天过后 2024-09-08 20:47:06

我能够弄清楚这一点。您只能使用较旧的 Flex SDK 编译 AIR 1.0 文件。前往 Adob​​e Flex 网站,下载旧版 SDK。 http://opensource.adobe.com/wiki/display/flexsdk/下载+Flex+3 我想要 3.0.3 版本,但下载时出现 404,所以我使用了 3.0.0。在 Flex 构建器中的编译设置下,添加新的 SDK,然后使用它进行构建。之后就可以了。他们没有在 Flex Builder 中更好地处理这个错误,真是太遗憾了。现在真是一团糟。

I was able to figure this out. You can only compile AIR 1.0 files with an older Flex SDK. Head over to the Adobe Flex site, and download an older SDK. http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3 I wanted to the 3.0.3 build, but the download was giving a 404, so I used 3.0.0. Under compile settings in Flex builder, add the new SDK, and then use that for a build. It works after that. It's a real shame they didn't handle this error better in Flex Builder. Right now it's a real mess.

桃酥萝莉 2024-09-08 20:47:06

最快的答案,没有大量的支持步骤和问题(对我来说最重要的是——图像/错误是什么?我位于安全性极高的防火墙+代理服务器后面,看不到它),将启动一个同名的新 1.5 AIR 项目。然后复制尽可能少的文件...主windowedApp文件+样式和组件文件,避免项目配置文件。

如果您想将客户端的开发环境保持为 1.0,您可能会给自己带来麻烦(这就是我假设您所说的“不幸的是,客户端环境在 1.0 上运行”的意思。)...确保不要混合您的项目配置文件(.flexProperties、app.xml 文件等),您应该很酷。

The quickest answer, without a ton of support steps and questions (not the least of which for me would be -- what is the image/error? I'm behind a ridiculously-high-security firewall + proxy server and can't see it), would be to start a new 1.5 AIR project with the same name. Then copy the fewest number of files as possible... the main windowedApp file + the style and component files, avoiding project config files.

You might get yourself in trouble if you wanted to keep the client's development environment as 1.0 (which is what I assume you meant by "Unfortunately, the clients environment runs on 1.0.").... make sure not to mix your project config files (.flexProperties, the app.xml files, etc.) and you should be cool.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文