-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
versionCode decreased? #8
Comments
Thank you for your pointing out! val versionMajor = 1
val versionMinor = 2
val versionPatch = 0
val versionCode = 54
.
.
.
defaultConfig {
applicationId = "com.puutaro.commandclick"
minSdk = 27
targetSdk = 33
versionCode = versionCode
.
.
. |
Well, but the APK seems a bit broken. From
No |
Thank you. Probably due to specifying versionCode = versionCode So correct bellow versionCode = 54 |
That was what I thought as well. I'm no Android or Kotlin developer, so I don't know how to best use variables there. Though I had expected a build error should the assignment not be possible – especially as an APK without The new APK looks good so far, thanks! Except for VT, which shows a few false positives by "usual suspects" (Sangfor, TM HouseCall often have that). |
Looks like today's release got its
versionCode
messed up:14 < 50, so no update – and downgrades are not allowed. I assume some typo happened, with 14 also being the "patch" part of
versionname
? Could you please fix?Looking at the previous versions:
… seems to confirm something's wrong with the setup there.
Oof.
versionCode
must ALWAYS be INCREASED – and can NEVER be DECREASED. Which is why my repo still showsv0.0.53
from September as latest version (all releases after that are considered "older" as they have a lowerversionCode
). Those having installed that (or any previous one) won't be able to update before you reach somex.x.54
with your current setup.The text was updated successfully, but these errors were encountered: