简体   繁体   中英

React Native APK release

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.

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.

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM