美文网首页
java.lang.NoClassDefFoundError:

java.lang.NoClassDefFoundError:

作者: 默默Leesa | 来源:发表于2019-01-15 19:39 被阅读0次

错误信息:(部分)
 E/AndroidRuntime(30518): java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/text/Charsets;

 E/AndroidRuntime(30518): at okio.Buffer.<clinit>(Buffer.kt:2212)

解决方案:

参考:https://stackoverflow.com/questions/53573712/didnt-find-class-kotlin-text-charsets-error-using-okhttp-3-12-0-android

我项目中使用的是,okhttp-3.12.1.jar。于是将okio的jar包改为Okio 1.1.15.jar 

相关文章

网友评论

      本文标题:java.lang.NoClassDefFoundError:

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