More than one file was found with OS independent path 'lib/arm64-v8a/libsqlite.so'

Posted hbolin

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了More than one file was found with OS independent path 'lib/arm64-v8a/libsqlite.so'相关的知识,希望对你有一定的参考价值。

很明显的意思是找到了多个so库。那么就需要去掉重复的。

在app build.gradle中配置如下:

packagingOptions 
        pickFirst ‘lib/arm64-v8a/libsqlite.so‘
        pickFirst ‘lib/armeabi-v7a/libsqlite.so‘
        pickFirst ‘lib/armeabi/libsqlite.so‘
        pickFirst ‘lib/x86/libsqlite.so‘

技术图片

 

解决地址:https://github.com/card-io/card.io-Android-SDK/issues/186

 

以上是关于More than one file was found with OS independent path 'lib/arm64-v8a/libsqlite.so'的主要内容,如果未能解决你的问题,请参考以下文章

More than one file was found with OS independent path 'lib/arm64-v8a/libsqlite.so'

我的Android进阶之旅彻底解决Android Studio编译so库的时候报错:More than one file was found with OS independent path

我的Android进阶之旅彻底解决Android Studio编译so库的时候报错:More than one file was found with OS independent path

关于报错“More than one fragment with the name [spring_web] was found. This is not legal ...”的解决办法

关于报错“More than one fragment with the name [spring_web] was found. This is not legal ...”的解决办法

记录一次随意操作数据库,插入新数据,导致与程序添加新数据时,引起的主键值重复问题。More than one row with the given identifier was found: 1690