Compress native libraries in APK to reduce size
This commit is contained in:
@@ -110,6 +110,12 @@ android {
|
|||||||
compose true
|
compose true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
packaging {
|
||||||
|
jniLibs {
|
||||||
|
useLegacyPackaging true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
applicationVariants.configureEach { variant ->
|
applicationVariants.configureEach { variant ->
|
||||||
variant.outputs.configureEach {
|
variant.outputs.configureEach {
|
||||||
outputFileName = (outputFileName as String).replace("-release", "")
|
outputFileName = (outputFileName as String).replace("-release", "")
|
||||||
|
|||||||
Reference in New Issue
Block a user