React Native Android — Update Version

Abhay Talreja
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.

APK Version needs update

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!

--

--

Abhay Talreja

A passionate Technologist with over 16 years of experience in software and web development. Saas Products that I Build Fast, Validate Fast, Earn Fast!