R8 produces the following warnings on build
See original GitHub issueWhen 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"}
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Android R8 compilation - multiple warnings - Stack Overflow
I am using R8 version r8-3.3.28.jar for building android application and getting bunch of warnings which I cannot understand.
Read more >R8 enabled gives build error: Compilation can't be completed ...
The build error we get is: R8 : warning : Missing class: com.samsung.android.fingerprint.FingerprintManager$EnrollFinishListener R8 ...
Read more >R8 2.0.74 produces invalid dex file when build "release" mode
Reproduce abstract method on non-abstract class warnings. Bug: 158018192 ... You can build with 2.1.38 by making the following changes to build.gradle:
Read more >The Unofficial R8 Documentation
It is not suitable if you are using R8 directly in a custom build process. ... The following rules will cause R8 to...
Read more >build.gradle - r8 - Git at Google
Proto lite generated code yields warnings when compiling with javac. ... To build and upload a new set of the Art tests for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same logs using R8, AGP 3.4.0 and OkHttp 3.14.1
Unclear what action we can take on this.