How to Generate Signed Android APK of React Native App

After the development process if you want to upload your application on Google Play Store then you need a signed APK and to generate signed APK you have to generate your signed keystore which stores your name, company name, password etc. So here is How to Generate Signed Android APK of React Native App. Let’s get started.

Generating a signing key

To generate Signed APK you need a signed Key which can be generated by following the below steps

1. Run Terminal/Command prompt as administrator

 

2. Go to your JDK>bin and run the following command which will ask you some details. Fill all the details.

 

3. It will generate a keystore with the name you have given in command.

4. Copy the keystore and paste it in Yourproject>android>app directory

5. Open Yourproject>android>gradle.properties in any code editor.

6.  copy paste the following lines below android.useDeprecatedNdk=true

7. Now Open Yourproject>android>gradle.properties in any code editor

8. add the signing config like the screenshot below

9. Now run following command in YourProject>android from the terminal
Windows:

Linux:

10. You will find the release APK after the successful run of the command.

This is how you can generate signed APK to upload on Google Play Store. If you are still facing the problem or you have anything to share please comment below or contact us here.

Hope you liked it:)

How useful was this post?

Click on a star to rate us!

Average rating / 5. Vote count:

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

0 replies

Leave a Reply

Want to join the discussion?   Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.