question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

R8 produces the following warnings on build

See original GitHub issue

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"}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
GianfrancoMScommented, May 12, 2019

I have the same logs using R8, AGP 3.4.0 and OkHttp 3.14.1

1reaction
swankjessecommented, Jun 15, 2019

Unclear what action we can take on this.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found