美文网首页
YSDK的巨坑!登录没有回调或couldn't find "li

YSDK的巨坑!登录没有回调或couldn't find "li

作者: 小明好爱学习 | 来源:发表于2020-02-27 14:09 被阅读0次

错误日志

2020-02-27 10:51:41.654 28610-28610/com.tencent.tmgp.gzbg.xxx W/System.err: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/user/0/com.tencent.tmgp.gzbg.xxx/app_dex/ysdk_hackdex.jar", dex file "InMemoryDexFile[cookie=[0, 499767118144]]", zip file "/data/app/com.tencent.tmgp.gzbg.xxx-98ts8uzk9VmYmTREoTrktQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.tencent.tmgp.gzbg.xxx-98ts8uzk9VmYmTREoTrktQ==/lib/arm64, /data/app/com.tencent.tmgp.gzbg.xxx-98ts8uzk9VmYmTREoTrktQ==/base.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64, /hw_product/lib64, /system/product/lib64]]] couldn't find "libYSDK.so"

如果出现以上类似的错误日志,或者没有回调,那么你一定要试下以下方法!!!!!

解决方法:

targetSdkVersion <= 28
并且
defaultConfig {
...
      ndk { abiFilters "armeabi" }
...
}

顺便吐槽下:ysdk官方文档真的lj!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

相关文章

网友评论

      本文标题:YSDK的巨坑!登录没有回调或couldn't find "li

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