为meteor app生成apk文件

Abd*_*ash 15 apk meteor

我有一个项目正在为Android浏览器工作.有没有办法生成apk文件?
另外,在生成apk文件之前,我有什么想知道的吗?

Rub*_*n S 34

.apk要从流星应用程序生成Android应用程序文件(),需要遵循以下几个步骤:

  1. meteor install-sdk android
  2. mobile-config.js在项目根目录中拥有该文件(mobile-config.js示例)
  3. meteor add-platform android
  4. meteor build ~/your-output-dir --server=yourapp.meteor.com

然后你会有你的.apk文件~/your-output-dir/android/unaligned.apk

如果您要继续并提交到Google Play商店,请按以下步骤操作:https: //guide.meteor.com/mobile.html#submitting-android

希望这可以帮助!


ims*_*vko 14

您可以使用meteor build命令构建APK文件.

在文档中阅读更多相关信息:http://docs.meteor.com/#/full/meteorbuild或meteor help build在终端输入.