我有一个项目正在为 android 浏览器工作。有没有办法生成apk文件?
另外,在生成 apk 文件之前有什么我应该知道的吗?
最佳答案
要从 meteor 应用程序生成 Android 应用程序文件 (.apk
),需要遵循几个步骤:
meteor install-sdk android
mobile-config.js
项目根目录中的文件 ( mobile-config.js example ) meteor add-platform android
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
希望这可以帮助!
关于meteor - 为meteor应用程序生成apk文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27617869/