Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to resolve D8 warning: D8: Type `org.conscrypt.Conscrypt` was not found

Tags:

/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()` 
like image 384
smoothdvd Avatar asked Apr 17 '18 14:04

smoothdvd


1 Answers

I was able to solve the problem with adding:

-dontwarn okhttp3.internal.platform.ConscryptPlatform

to the proguard-rules.pro file.

like image 136
Ognyan Avatar answered Oct 13 '22 23:10

Ognyan