Version name on play console

Hi,
I have a problem, I set the version code: 5 and the name of version 1.0, I had to change the app
and changed the name of the version to 2.0, but the Play Console does not consider 2.0 and informs me that the version is already registered, and I am obliged to increase the version to 6, being so what’s the point of the version name if I can’t use it?

Hello @iberlucio_santos

Read that maybe it can helped you :point_down:

  • android:versionCode
An internal version number. This number is used only to determine whether one version is more recent than another, with higher numbers indicating more recent versions. This is not the version number shown to users; that number is set by the versionName attribute. The value must be set as an integer, such as "100". You can define it however you want, as long as each successive version has a higher number. [...]
  • android:versionName
The version name shown to users. This attribute can be set as a raw string or as a reference to a string resource. The string has no other purpose than to be displayed to users. The versionCode attribute holds the significant version number used internally.

Reading that it's pretty clear that versionName is just something that's shown to the user, versionCode is what matters. Just keep increasing it and everything should be good
2 Likes

Thank you, your help was timely.

Don’t forget set topic to solution.:slightly_smiling_face: