PlayerAndPusher icon indicating copy to clipboard operation
PlayerAndPusher copied to clipboard

运行报错 couldn't find "libnative-lib.so"

Open wulixzCN opened this issue 3 years ago • 0 comments

你好,在我运行程序时,报以下错误 java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.zj.play-JpGtsfCCdDcSzX7kBcSH5g==/base.apk"],nativeLibraryDirectories=[/data/app/com.zj.play-JpGtsfCCdDcSzX7kBcSH5g==/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libnative-lib.so"

我在app下的 build.gradle里的 defaultConfig增加了如下配置 ndk { abiFilters 'x86_64','armeabi-v7a','x86',"armeabi","arm64-v8a" } 但是还是不行。

特此想请教一下

wulixzCN avatar Dec 21 '21 15:12 wulixzCN