I submitted an APK to Google play as version 1 and it was accepted. I made a change to the program and changed to version to 2 and resubmitted. now it gives the following message.
"You need to use a different version code for your APK because you already have one with version code 1."
#Region Project Attributes
#ApplicationLabel: VDFB
#VersionCode: 1
#VersionName: v0.1alpha
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: unspecified
#CanInstallToExternalStorage: True
#End Region
Thats - #VersionCode: 1 - is the one Google talking about... Normally you only need to changed this number to a higher one (integer, not float or string) and then google should accept the new "version".
#VersionName instead can be used to set a userfriendly Versioninformation like "v0.1alpha"
Upload new release to google.
In your app you can get this number. Save it in a variable of type double. Divide this number with 100. What you get is a Version 1.23. Nicely formatted with numberformat.
According to this you can use the versionname directly with 1.23 (then you dont need to dive with 100...
Ready
The fact is Google DOES USE the VersionCode (Int). For ALL Apps. You have to deal with it.