How can I exclude the arm64-v8a movie from the mural (android lib from facebook)

enter image description here

As you can see, Fresco has arm64-v8a dir, but I don't want that. What should I write in build.gradle

compile('com.facebook.fresco:fresco:0.5.3') { exclude group: 'com.android.support' exclude group: 'com.nineoldandroids' exclude group: 'imagepipeline/jni/arm64-v8a' } 
+3
source share
2 answers

Write the code below in the build.gradle file of your application.

 android { ... defaultConfig { ... ndk { abiFilters "armeabi-v7a", "x86","armeabi" } packagingOptions { exclude "lib/arm64-v8a/mysofile.so" } } } 

Replace mysofile.so with your .so file

+4
source

this may help: Shipment of multiple APKs

If your application is not used by devices running Android 2.3 (Gingerbread), you will not need the flavor of the army team.

Android Studio / Gradle # Edit the build.gradle file as follows:

 android { // rest of your app logic splits { abi { enable true reset() include 'x86', 'x86_64', 'arm64-v8a', 'armeabi-v7a', 'armeabi' universalApk false } } } 
+1
source

All Articles