When using R8 (Android shrinker) the following warnings are produced on build. These are harmless and won't fail to the build but it would be nice get rid of these.
AGPBI: {"kind":"warning","text":"Type `org.conscrypt.Conscrypt` was not found, it is required for default or static interface methods desugaring of `java.security.Provider okhttp3.internal.platform.ConscryptPlatform.getProvider()`","sources":[{"file":"/Projects/Wez/NextEpisode/app/build/intermediates/transforms/FirebasePerformancePlugin/debug/80/okhttp3/internal/platform/ConscryptPlatform.class"}],"tool":"D8"}
AGPBI: {"kind":"warning","text":"synthesized for lambda desugaring: Type `okhttp3.Dns$-CC` was not found, it is required for default or static interface methods desugaring of `java.util.List okhttp3.-$$Lambda$Dns$mTkNcZf2K4euny3_jks6Cac6Az0.lookup(java.lang.String)`","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"warning","text":"synthesized for lambda desugaring: Type `okhttp3.Authenticator$-CC` was not found, it is required for default or static interface methods desugaring of `okhttp3.Request okhttp3.-$$Lambda$Authenticator$xBBU2iHkJpDKH0vhaB2vteUyEoc.authenticate(okhttp3.Route, okhttp3.Response)`","sources":[{}],"tool":"D8"}
Any idea how we get rid of these?
why does google treat developers like guinea pigs?
The first one can be suppressed with a -dontwarn. The latter two aren't our problem. They look like the library was processed twice.
I just received those messages too using Android Studio 3.5 Beta 1.
So, those are not resulting in any misbehaving? We can actually just ignore it?
Are there already some other issues to link here (e.g. at the D8 bugtracker)?
I have the same logs using R8, AGP 3.4.0 and OkHttp 3.14.1
Same here after the latest update to Android Studio 3.5 Beta 4
AGPBI: {"kind":"warning","text":"synthesized for lambda desugaring: Type `okhttp3.Authenticator$-CC` was not found, it is required for default or static interface methods desugaring of `okhttp3.Request okhttp3.-$$Lambda$Authenticator$xBBU2iHkJpDKH0vhaB2vteUyEoc.authenticate(okhttp3.Route, okhttp3.Response)`","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"warning","text":"synthesized for lambda desugaring: Type `okhttp3.Dns$-CC` was not found, it is required for default or static interface methods desugaring of `java.util.List okhttp3.-$$Lambda$Dns$mTkNcZf2K4euny3_jks6Cac6Az0.lookup(java.lang.String)`","sources":[{}],"tool":"D8"}
Using these versions :
okhttpVersion = '3.14.1'
retrofitVersion = '2.5.0'
Unclear what action we can take on this.
Most helpful comment
I have the same logs using R8, AGP 3.4.0 and OkHttp 3.14.1