Changing the version number of an android build?

When my app is complied for android and uploaded to the google play store it says it has version number “1” by default. I now want to make a minor change so did the change and re-compiled the game. When I go to upload the new .apk it doesn’t allow it as it says the version number is the same.

So does anyone know how to change the apk version number to something like “1.1”?

Hey,

Yes, open your manifest file.
AndroidManifest.xml it can be done over there.

If you’re using android-studio, the code version is in:

yourAppFolder/proj.android-studio/app/build.gradle

You will find it in:

android {
 ...
 defaultConfig{
 ...
 versionCode 1
 ...
 }
...
}