don't multiply version codes by 1048576, could mess up upgrades
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
1ea49a80fc
commit
13c7f06317
|
@ -268,8 +268,7 @@ android {
|
|||
def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4]
|
||||
def abi = output.getFilter(OutputFile.ABI)
|
||||
if (abi != null) { // null for the universal-debug, universal-release variants
|
||||
output.versionCodeOverride =
|
||||
versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
|
||||
output.versionCodeOverride = versionCodes.get(abi) + defaultConfig.versionCode
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue