美文网首页
couldn't find "libxxxx.so"的错误解决办

couldn't find "libxxxx.so"的错误解决办

作者: IT枫 | 来源:发表于2021-01-12 16:18 被阅读0次
    android {
        defaultConfig {
            ndk {
                // 设置支持的SO库架构
                abiFilters   'armeabi','x86', 'armeabi-v7a', 'x86_64', 'arm64-v8a'
            }
         }
    
        //指定so库的位置,加载so库
        sourceSets {
            main {
                jniLibs.srcDirs = ['libs']
            }
        }
    
    dependencies {
        implementation fileTree(dir: 'libs', include: ['*.jar'])
    }
    }
    

    相关文章

      网友评论

          本文标题:couldn't find "libxxxx.so"的错误解决办

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