More than one file was found with OS independent path &#

时间:2021-10-12 22:16:07

很明显的意思是找到了多个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‘
}

More than one file was found with OS independent path &#

 

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