将 Flash Builder 4.6 移动应用程序打包为桌面应用程序(带有 Air 运行时)?

发布于 2025-01-08 11:02:28 字数 1192 浏览 1 评论 0原文

好的,我有这个应用程序,它基本上是您可以在网上找到的无处不在的翻页组件,但针对移动设备进行了修改。这是给孩子看的故事书。它是 FlashBuilder 4.6 中的移动 Flex 应用程序。当我为移动项目导出发布版本时,我看到桌面 .air 打包选项,而不是移动版本。工作和看起来都很棒...但是您不能在 Mac App Store 上出售 .air 文件。我想捆绑air运行时来创建一个.app,希望我可以在应用程序商店上找到它。但是,此选项在移动项目中不可用。我尝试通过命令行弄清楚...

java -jar adt.jar -package -keystore ./jamesabrannan_cert_development.p12 -storetype pkcs12 -target bundle ShortBook.app ShortBook-app.xml ShortBook.swf

但这会导致.. ..没有这样的文件/Users/jamesabrannan/Documents/test/ShortBook.app

所以我看到也许一些谷歌结果可能是错误/过时的我实际上只是简单地指示要在其中创建应用程序的文件夹,好吧,所以...

java -jar adt.jar -package -keystore ./jamesabrannan_cert_development.p12 -storetype pkcs12 -target bundle 。 ShortBook-app.xml ShortBook.swf

但这会导致......

文件“/Users/jamesabrannan/Documents/test/ShortBook-app.xml”和“/Users/jamesabrannan/Documents/test/ShortBook-app.xml”包路径有冲突:/Users/jamesabrannan/Documents/test/ShortBook-app.xml

我想要做的是将我的移动应用程序与操作系统打包在一起Adobe Air 的 X 运行时。这一定是可能的,但如果我能弄清楚的话,我就该死了。看起来我有 AIR 2.6,或者 FlashBuilder 4.6 中的任何标准,

我试图避免创建桌面应用程序、添加移动框架,然后将我的代码传输到其中。

任何帮助将不胜感激。这将是一个巨大的福音,因为一些平板电脑应用程序将完全适用于桌面 - 只需进行一些细微的修改。

谢谢, 詹姆斯·A·布兰南 布兰南技术解决方案有限责任公司 www.floopiebooks.com

Okay, so I have this application that is basically the ubiqutous page turning component you can find online, but modified for mobile. It's for kid's storybooks. It's a mobile flex application in FlashBuilder 4.6. When I export release build for my mobile project, I see an option for desktop .air packaging rather than mobile. Works and looks great....but you can't sell a .air file on Mac App Store. I want to bundle the air runtime to create a .app, which hopefully I can get on the app store. However, this option is not available in a mobile project. I've tried figuring it out via commandline...

java -jar adt.jar -package -keystore ./jamesabrannan_cert_development.p12 -storetype pkcs12 -target bundle ShortBook.app ShortBook-app.xml ShortBook.swf

but that results in.... no such file /Users/jamesabrannan/Documents/test/ShortBook.app

So then I saw that perhaps some of the google results might be wrong/outdated and I was actually simply supposed to indicate the folder the app was to be created in, okay, so....

java -jar adt.jar -package -keystore ./jamesabrannan_cert_development.p12 -storetype pkcs12 -target bundle . ShortBook-app.xml ShortBook.swf

But that results in....

Files "/Users/jamesabrannan/Documents/test/ShortBook-app.xml" and "/Users/jamesabrannan/Documents/test/ShortBook-app.xml" have conflicting package paths: /Users/jamesabrannan/Documents/test/ShortBook-app.xml

What I want to do is take my mobile application and package it with the OS X runtime for adobe air. It must be possible, but I'll be darned if I can figure it out. Looks like I have AIR 2.6, or whatever is standard in FlashBuilder 4.6

I'm trying to avoid creating a desktop app, adding the mobile framework, and then transfering my code to it.

Any help would be appreciated. This would be a great boon, as some tablet apps would be totally applicable - with a few slight modifications - on a desktop.

Thanks,
James A. Brannan
Brannan Technical Solutions LLC
www.floopiebooks.com

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

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

发布评论

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

评论(1

不离久伴 2025-01-15 11:02:28

右键单击项目,导出release并选择air桌面包
请参阅此参考

Right click on the project, export release and choose air desktop package
see this reference

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