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

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"的错误解决办法)