React Native APK release

南笙酒味 提交于 2020-05-02 04:19:08

问题


I'm trying to build a Singed apk using android studio. I'm using react-native. As new to this field I actually can not find how to make it. I just run it from terminal and it just builds from there.

What are the process for building a Signed apk using react-native.


回答1:


The React Native Documentation for Generating a Signed APK is fairly comprehensive and should answer your question.

Be careful when generating your keystore - if you lose this you won't be able to upload updates to Google Play.




回答2:


Follow this guide to sign your APK: https://facebook.github.io/react-native/docs/signed-apk-android.html#adding-signing-config-to-your-app-s-gradle-config

Run ./gradlew assembleRelease on android folder and your signed APK will be compiled in android/app/build/outputs/apk.



来源:https://stackoverflow.com/questions/40763972/react-native-apk-release

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!