React Native Android — Update Version
1 min readAug 22, 2016
So, while I was deploying my app — Moviebite, I got this constant message while uploading the APK to google play store.
As expected, i did some google and figured that i need to update my Manifest file.
<manifest xmlns:android=”http://schemas.android.com/apk/res/android"
package=”com.moviebite”
android:versionCode=”2"
android:versionName=”1.0">
So, i updated the file, cleaned gradle and uploaded the new APK and still got the same issue. The fix was incomplete.
After some research, below fix worked. You should be changing your versionCode and versionName in android/app/build.gradle:
android { defaultConfig { versionCode 2
versionName "1.0" {...}
} {...}
}
Hope this helps someone!