Generate signed release android APK run without server React Native

Full form of APK is Android Package Kit. The APK file is a generated package file containing all the important files which is recommended to run android app on android mobile device. By default when we create react native project app and install that app on our device – Emulator then the app install as Debug Mode. But we cannot get the Signed Release Android APK and without the original APK file we cannot upload this file on Google Play Store. There is also a problem that all the react native beginners is facing that the Un-Signed APK cannot run without the JS server. So using the Singed APK we can run our react native android app to any android mobile device without running the JS Server and upload .APK file to Google Play Store. So in this tutorial we would going to Generate signed release android APK that run without JS Server in React Native in Windows PC using Key Store.

Contents in this tutorial Generate signed release android APK that run without JS Server in React Native:

1. Start Command Prompt(CMD) in Windows with Administrator Mode.

2. Goto your JDK -> bin installation folder in Command Prompt like i did in below screenshot.

3. Run the below command in bin directory in Command Prompt.

4. After entering the above command in bin directory in It will ask some information about your application.

Note: Remember the password your enter while creating release-key.keystore file. Because it will use in below steps.

I am sharing the screenshot below.

5. After successfully done all the procedure the generated release-key.keystore file would store in C:\Program Files\Java\jdk1.8.0_92\bin folder.

6. Copy the release-key.keystore file from bin folder and paste inside the YourReactNativeProject -> android -> app folder like i did in below screenshot.

7. Open the file present in YourReactNativeProject -> android.

8. Paste the below code inside the file.

Code of my projects file after adding above code :

9. Open the build.gradle file present inside YourReactNativeProject -> android -> app folder.

10. Add below code inside the build.gradle file in android scope.

11. Code of my project’s build.gradle file after adding above code.

12. Now finally open your react native project folder in command prompt and execute the below command.

Screenshot of CMD after executing above command :

Here you go guys, the final signed release android APK file will created inside the YourReactNativeProject -> android -> app -> build -> outputs -> apk folder.

Happy Reading 🙂 . Now you can upload this file on Google play store and also run in any device without running the JS Server.


  1. wow men you are my mentor, thanks for this tutorial, it really helps me a lot. keep on.

  2. FANreactnativecode

    Thank you very much!

  3. please arrange your tutorial in a list way so it will be easy for us to search any tutorial.Thanks for your valuable efforts.

  4. Thank you very :)!

  5. C:\Levy\ReactNative\FirstProject>cd android && gradlew assembleRelease

    FAILURE: Build failed with an exception.

    * Where:
    Build file ‘C:\Levy\ReactNative\FirstProject\android\app\build.gradle’ line: 152

    * What went wrong:
    A problem occurred evaluating project ‘:app’.
    > Could not find method signingConfigs() for arguments [build_6xegjwpq8w1c0p7ich
    [email protected]] on project ‘:app’ of type org.gradle.api.Project.

    * Try:
    Run with –stacktrace option to get the stack trace. Run with –info or –debug
    option to get more log output.


    Total time: 18.002 secs


    any sugestions?

  6. What can i do if i forgot my keystore password?

  7. sir, how to make apk release in RN 0.61,
    it size to large, 34mb.
    i want like your build apk size 7mb.
    please help me.
    im sorry bad english, im from indonesia.

  8. How to generate ipa in react native

Leave a Reply

Your email address will not be published.