Update android app version

android

Solution

You need to update following details,

android:versionCode="1"
android:versionName="1.0"

Here each time you upload a new .apk you need to increase versionCode to +1. Changing of version code is compulsory.

So if you are uploading this app next time then you need to write following,

android:versionCode="2"
android:versionName="1.0"

Change in VersionName is optional if you do not want to change it. However if you want to change it then you can change it's value.

Problem

Where do I have to change app version in code (androidManifest.xml I guess) to make an update? I am having problems because I always get the same message from google.

Original source