react native build apk in 5 steps

0/5 No votes

Report this app


react native build apk in 5 steps

in this tutorial you will learn :
What is the different between signed and unsigned APK?
Why we need a digital certificate?
How to generate Signed And unsigned APK?

1- Generate keystore
2- Place keystore under your project/android/app/
3- Edit android/ file with your password for keystore
4- Edit android/app/build.gradle in your project folder and add the signing config
5- Run this code in the command line cd android && gradlew assembleRelease

If you ran into problem in building APK like this error:
Unable to process incoming event ‘ProgressComplete ‘ (ProgressCompleteEvent)

I recommend to
1- upgrade gradle to 4.3 to avoid building problems
2- or use Gradlew.bat assembleRelease instead