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

More than one file was found wit

作者: CentForever | 来源:发表于2021-01-27 00:28 被阅读0次

    title: More than one file was found with OS independent path 'lib-x86-libc++_
    date: 2019-12-25 10:36:53
    categories:
    - Android
    tags:
    - NDK


    原因是引入了两个三方库,用到了一样的.so

    android {
        defaultConfig {
    
       }
     packagingOptions {//加上这些代码  More than one file was found with OS independent path 'lib/x86/libc++_shared.so'
            pickFirst 'lib/armeabi-v7a/libc++_shared.so'
            pickFirst 'lib/armeabi-v8a/libc++_shared.so'
            pickFirst 'lib/arm64-v8a/libc++_shared.so'
            pickFirst 'lib/x86/libc++_shared.so'
            pickFirst 'lib/x86_64/libc++_shared.so'
        }
    }
    

    相关文章

      网友评论

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

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