zoukankan      html  css  js  c++  java
  • Android Studio编译报错More than one file was found with OS independent path 'lib/armeabiv7a/libRSSupport.so'

    主要是在加入了毛玻璃相关的功能并且项目是一个多moudle依赖的情况下会出现的问题,解决方式也比较简单这里记录一下

    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'  
    
    }

     

     

    对相关的lib做一下过滤就好了,主要是这三个,如果还有其他架构的适配就在对应的加上路径就好了。 

  • 相关阅读:
    javaMap
    javaCollections
    java线程
    mysql插入,删除
    mysql基础(1)
    javaSet,Date
    中青杯数学建模大赛
    javaJDBC
    中秋记事~~项目开发
    太高兴了,今天有人送我吃月饼!
  • 原文地址:https://www.cnblogs.com/lovelyYakir/p/15646909.html
Copyright © 2011-2022 走看看