How To Reduce The Apk Size Of My Android App With Opencv Library Integrated
I have searched for this a lot, but didn't get a solution and hence posting this. Scenario: I'm building an Android app which uses opencv library. When I build the APK file the si
Solution 1:
You can enable ABI splitting in the build.gradle file like this:
android {
// Some other configuration here...
splits {
abi {
enable truereset()
include 'x86', 'armeabi', 'armeabi-v7a', 'mips'
universalApk false
}
}
}
Refer this link https://realm.io/news/reducing-apk-size-native-libraries/
Post a Comment for "How To Reduce The Apk Size Of My Android App With Opencv Library Integrated"