versionCodeshould only be numbers, not decimals. You can assign decimals to versionNamewhich are displayed in the PlayStore and in the application details on the device.
For example, if you installed versionCodeas 1 in your first version, it should now be 2.
set it as versionCode="2"
source
share