Created
October 31, 2022 21:51
-
-
Save aduquet/253f55041770d0016173dd1a21bc60c5 to your computer and use it in GitHub Desktop.
keep getting this message in the play store Version code 1 has already been used. Try another version code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I got this solve by changing the versionCode Does not admit floats, and the versionName, I have not try modifying one a let the other tho | |
defaultConfig { | |
applicationId "your.applicationId" | |
minSdkVersion 23 | |
targetSdkVersion 30 | |
versionCode 1 // Change to a higher number | |
versionName "1.0.1" // Change to a higher number | |
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | |
javaCompileOptions { | |
annotationProcessorOptions { | |
arguments = ["room.schemaLocation": "$projectDir/schemas".toString()] | |
} | |
} | |
] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment