ncompressed native libs in bundle is a deprecated property Starting with version 81 怎么修改
To modify the deprecated property "uncompressed native libs in bundle" starting with version 8.1, you need to follow these steps:
- Open your project in Android Studio.
- Navigate to the
build.gradlefile for your app module. - Locate the
androidblock within thebuild.gradlefile. - Inside the
androidblock, find thesplitsblock. - Within the
splitsblock, locate theabiblock. - Remove the line that specifies the deprecated property
uncompressedNativeLibsInBundle.
Before:
android {
// Other configurations
splits {
abi {
// Other configurations
uncompressedNativeLibsInBundle false
}
}
}
After:
android {
// Other configurations
splits {
abi {
// Other configurations
}
}
}
- Save the
build.gradlefile.
By removing the deprecated property, the build process will use the default behavior of compressing the native libraries in the app bundle
原文地址: https://www.cveoy.top/t/topic/iVsP 著作权归作者所有。请勿转载和采集!