React Native

How to generate the release build in react native android

Posted On
Posted By Neha Dwivedi

After creating an application in react native if you want to see it in your android phone, send it to anyone or upload it on play store then you need to generate the release build.

Now the question is what we found after generating the release build: after generating build you find .apk package, .apk means Android package kit which contains the compressed format of all files, Apk file extension file_name.apk.

So let’s generate release .apk file, start to follow these steps.

Step 1: Open your android studio and in the menu bar and click build->build bundle/apk->build looks like.

Step 2: Then a new window is open in which you choose .apk, it looks like.

Step 3: Key Store generation – Now we are going to cover the most important part of generating release build which is generating the Keystore, for creating a signing build you need to generate a Keystore after a click next to a new window is open which looks like.

Step 4: Key store generation window fill all the field carefully.

  • key store path: choose the Keystore path carefully.
  • Password and confirm password: password is the most important part so remember it.
  • Alias: choose alias name carefully and remember it.
  • And fill all other fields.

And after click ok a new window is generated which looks like.

Step 5: Here you fill your alias and password which you generate in the previous step and then click Next, and the window looks like.

Step 6: Here you can find release and debug both and in Signature Versions check both checkboxes and click on finish, and the window looks like.

Now your release build is ready you can find it, your_project-> android-> app-> build-> outputs-> apk-> release-> app-debug.apk

Good Luck for your app release!

And if any other query/issue then please comment.

Happy Coding Guyz

Related Post

leave a Comment

Latest Post

React Native

How to generate keytool for android release and debug build

Read More
Posted On
React Native

How to finding index at the time of scrolling on flatlist in react native

Read More
Posted On
React Native

How to exit from the app with user confirmation in react native

Read More
Posted On
React Native

How to open phone default calendar in react-native

Read More
Posted On
React Native

How to change Android package name in react-native

Read More
Posted On