It mainly refers to the problems that will occur when the functions related to ground glass are added and the project is dependent on multiple molds. The solution is also relatively simple. Here is a record
packagingOptions { pickFirst 'lib/armeabi-v7a/libRSSupport.so' pickFirst 'lib/x86_64/libRSSupport.so' pickFirst 'lib/x86/libRSSupport.so' pickFirst 'lib/arm64-v8a/libRSSupport.so' pickFirst 'lib/x86_64/librsjni_androidx.so' pickFirst 'lib/x86/librsjni_androidx.so' pickFirst 'lib/arm64-v8a/librsjni_androidx.so' pickFirst 'lib/armeabi-v7a/librsjni_androidx.so' pickFirst 'lib/x86/librsjni.so' pickFirst 'lib/arm64-v8a/librsjni.so' pickFirst 'lib/x86_64/librsjni.so' pickFirst 'lib/armeabi-v7a/librsjni.so' }
It’s good to filter the related LIBS, mainly these three. If there are other architecture adaptations, it’s good to add paths to the corresponding ones.
Similar Posts:
- Problems encountered in integrating.so with Android Studio: about java.lang.unsatisfiedlinkerror: native method not found
- [Solved] Failure [INSTALL_FAILED_NO_MATCHING_ABIS]
- [Solved] Version 28 (intended for Android Pie and below) is the last version of the legacy support library
- Install and run Android in Androidx86 emulator – This adb server’s $ADB_VENDOR_KEYS is not set
- [Solved] Android Gradle Build Error: Some file crunching failed, see logs for details
- Duplicate files copied in APK META-INF/DEPENDENCIES
- About fluent reference image_ Error reported by picker plug-in
- [Solved] Dubbo uses filter error: No such extension consumerStaticFilter for filter/com.alibaba.dubbo.rpc.Filter
- Android about LIBS, jnilibs library basic instructions and conflict resolution
- Configure Struts2 web.xml to report an error [How to Solve]