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 https://facebook.g
I had the same problem and I checked all the above answer, I had a made a silly mistake because of which nothing worked for me. Just in case any of you do same mistake as mine try this.
So in project/app/build.gradle
android {
defaultConfig {
versionCode 1 // do not use decimal number here
versionName "1.0" // you can use decimal number here.
{...}
}
{...}
}