Praveen Prasad Praveen Prasad - 1 year ago 211
Android Question

How to update version number of react native app

I am using React native with Android. How can I update version number in the app? As I am getting this error.

I am generating file as per this url

I have tried modifying AndroidManifest.xml file, but after I build it, that file gets automatically modified back.

<manifest xmlns:android=""
android:versionName="1.0" >

Here, I modified the XML:

<manifest xmlns:android=""
android:versionName="1.1" >

After, build file automatically changes back.

enter image description here

Answer Source

You should be changing your versionCode and versionName in android/app/build.gradle:

android {

    defaultConfig {

        versionCode 1
        versionName "1.0"


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download