如何解决D8警告:D8:找不到"org.conscrypt.Conscrypt"类型 [英] How to resolve D8 warning: D8: Type `org.conscrypt.Conscrypt` was not found
本文介绍了如何解决D8警告:D8:找不到"org.conscrypt.Conscrypt"类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
/Volumes/SSD/.gradle/caches/modules-2/files-2.1/com.squareup.okhttp3/okhttp/3.10.0/7ef0f1d95bf4c0b3ba30bbae25e0e562b05cf75e/okhttp-3.10.0.jar: D8: Type `org.conscrypt.Conscrypt` was not found, it is required for default or static interface methods desugaring of `okhttp3.internal.platform.Platform okhttp3.internal.platform.ConscryptPlatform.buildIfSupported()`
推荐答案
我能够通过添加以下内容解决问题:
I was able to solve the problem with adding:
-dontwarn okhttp3.internal.platform.ConscryptPlatform
到proguard-rules.pro
文件.
这篇关于如何解决D8警告:D8:找不到"org.conscrypt.Conscrypt"类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文