loadLibrary msc error:java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.xflinean-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libmsc.so"
出现加载so包有问题时
在buidl.gradle(module:app)下的android{
defaultConfig {
...
multiDexEnabled true
ndk {
abiFilters "armeabi", "armeabi-v7a", "x86", "mips"
}
}
sourceSets{
main{
jniLibs.srcDirs =['libs']
}
}
}
里面加上这段代码就可以了