I have an Android APK in the Google Play store with an Target SDK of 23.
I have released a new version (same target SDK) and Google shows me this error:
If I
I'm using VS-TACO and ran into this problem.
To slightly clarify Sanny's answer which fixed the issue for me. Apparently, somewhere along the way the android-versionCode was calculated using this formula:
MAJOR * 100000 + MINOR * 1000 + PATCH * 10
but now it is getting calculated using the version Sanny shows:
MAJOR * 10000 + MINOR * 100 + PATCH
So for example if your version was 1.3.1 android-versionCode was calculated as "103010"
now you change the version to 1.3.2 and it is calculated the new way so the version is "10302" which is less than "103010".
So to work around this issue (I guess forever if the android version keeps getting calculated the new way) you can add the version tag to your config.xml:
or you can go into Visual Studio and use the visual editor for config.xml, go to the "Android" section and change the "Version Code:" value.