如何从aab文件制作apk文件 [英] How to make apk file from aab file

查看:33
本文介绍了如何从aab文件制作apk文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为我的本机应用程序文件夹制作一个 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆