File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -155,11 +155,13 @@ android {
155
155
}
156
156
productFlavors {
157
157
__32bit {
158
+ versionCode android. defaultConfig. versionCode * 10 + 1
158
159
ndk {
159
160
abiFilter " armeabi-v7a"
160
161
}
161
162
}
162
163
__64bit {
164
+ versionCode android. defaultConfig. versionCode * 10 + 2
163
165
ndk {
164
166
abiFilter " arm64-v8a"
165
167
}
@@ -180,20 +182,6 @@ android {
180
182
release {
181
183
}
182
184
}
183
- // applicationVariants are e.g. debug, release
184
- applicationVariants. all { variant ->
185
- variant. outputs. each { output ->
186
- // For each separate APK per architecture, set a unique version code as described here:
187
- // https://developer.android.com/studio/build/configure-apk-splits.html
188
- def versionCodes = [" armeabi-v7a" : 1 , " arm64-v8a" : 2 ]
189
- def abi = output. getFilter(OutputFile . ABI )
190
- if (abi != null ) { // null for the universal-debug, universal-release variants
191
- output. versionCodeOverride =
192
- defaultConfig. versionCode * 10 + versionCodes. get(abi)
193
- }
194
-
195
- }
196
- }
197
185
}
198
186
199
187
dependencies {
You can’t perform that action at this time.
0 commit comments