美文网首页
More than one file was found wit

More than one file was found wit

作者: 花漫旧城夏天 | 来源:发表于2021-09-01 13:52 被阅读0次

今天新导入了一个库。然后AS报错。提示了More than one file was found with OS independent path 'lib/armeabi-v7a/libss。根据提示,是依赖了重复的OS文件导致的。

解决方法。在APP的build.gradle里面的defaultConfig里面,新增一个方法。如下:

packagingOptions{

    pickFirst 'lib/armeabi-v7a/libssl.so'

    pickFirst 'lib/armeabi-v7a/libcrypto.so'

}

把系统提示的重复的那个SO文件给添加进去就可以了。

相关文章

网友评论

      本文标题:More than one file was found wit

      本文链接:https://www.haomeiwen.com/subject/dhvxwltx.html