简体   繁体   English

无需安装Adobe Flash即可刷新android应用

[英]flash android apps without installing adobe air

i am a newbie in flash programming. 我是Flash编程的新手。 i got a issue with adobe air. 我遇到了Adobe Air的问题。 As i have done all the things with Air for android. 因为我已经完成了Air for android的所有工作。 I tested with air in android sdk emulator. 我在android sdk模拟器中使用air进行了测试。 everything's working fine but the thing is How to run flash android apps without installing adobe air? 一切正常,但问题是如何在不安装Adobe Air的情况下运行Flash Android应用程序? Are there any tools or converters available for this. 是否有任何可用的工具或转换器。 If any please suggest me. 如果有的话请建议我。

Thanks. 谢谢。

Captive Runtime on Android since AIR 3.0 won't need to have AIR installed as the runtime will be bundled within the app. Android上的Captive Runtime,因为AIR 3.0无需安装AIR,因为运行时将捆绑在应用程序中。

If you're using Flash Builder, go through Captive Runtime packaging in Air 3.0. 如果您使用的是Flash Builder,请查看Air 3.0中的Captive Runtime包装。

If not, follow this : Installation and deployment options in Adobe AIR 3 如果不是,请遵循以下步骤: Adobe AIR 3中的安装和部署选项

But if you want to use Flex or Flash, you need Air. 但是,如果要使用Flex或Flash,则需要Air。 Otherwise you can use another cross-platform tool, like Phonegap. 否则,您可以使用另一个跨平台工具,例如Phonegap。

Or if you want small, lean apps, with maximum device compatibility, nothing compares with using Java and the stock Android SDK. 或者,如果您想要小型,精简的应用程序,并且具有最大的设备兼容性,那么使用Java和现有的Android SDK就是无与伦比的。

If you're using Flash Professional then go to the steps 如果您使用的是Flash Professional,请转到步骤

  1. go to in publish settings tab and click on Target settings icon 进入“发布设置”标签,然后点击“目标设置”图标
  2. put your general information and go to the Deployment Tab 输入您的一般信息,然后转到“部署”选项卡
  3. choose your certificate and fill password then 选择您的证书并输入密码,然后
  4. select radio button of Device release 选择设备释放的单选按钮
  5. next is select radio button of Embed AIR runtime with application 接下来是Embed AIR运行时与应用程序的选择单选按钮
  6. if your Device is connected then click the check box of Install application on the connected Android Device. 如果您的设备已连接,请在已连接的Android设备上单击“安装应用程序”复选框。

then Publish It. 然后发布。

Note: this steps is showing in Flash Professional cs5, cs5.5 and cs6 maybe because i am using cs6 so check it first 注意:此步骤在Flash Professional CS5,CS5.5和CS6中显示,也许是因为我正在使用CS6,所以请先检查一下

Enjoy 请享用

You can use the captive runtime option, which packs air into the native application package. 您可以使用强制运行时选项,该选项将空气打包到本机应用程序包中。 Other than that, you don't have any other option to deploy your app other than converting it to native Java code. 除此之外,除了将应用程序转换为本地Java代码之外,您没有其他任何选择来部署您的应用程序。

If you're using FlashDevelop, there's a file called PackageApp.bat in your main app directory. 如果您使用的是FlashDevelop,则主应用程序目录中有一个名为PackageApp.bat的文件。 Just run it, and there you can choose to build normal, debug and captive runtime, for android and ios. 只需运行它,即可在其中选择为Android和ios构建正常,调试和强制运行时。

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

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