如何从aab文件制作apk文件 [英] How to make apk file from aab file
问题描述
我正在尝试为我的本机应用程序文件夹制作一个 apk.我关注了这个 https://www.youtube.com/watch?v=cws_eQ5LQUk&t=420s 教程,但结果文件是 app.aab 文件.
I am trying to make an apk of my react native app folder. I followed this https://www.youtube.com/watch?v=cws_eQ5LQUk&t=420s tutorial but the resultant file turned out to be app.aab file.
那么我怎样才能使它成为一个 apk 文件并将其安装在另一个模拟器中?
So how can I make it an apk file from this and installed it in another emulator?
推荐答案
有一个很好的 分步教程.
您必须生成一个签名的 apk 文件才能发布到 Google Play 商店.可以通过以下命令完成.但首先,您必须生成上传密钥并设置 gradle 变量,请查看上面的链接.
You have to generate a signed apk file for publishing to Google Play Store. It can be done by following command. But first, you have to generate an upload key and set up gradle variables, check the link above.
$ cd android
$ ./gradlew bundleRelease
这篇关于如何从aab文件制作apk文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!