Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCompile error #1754
Compile error #1754
Comments
|
This looks like a bug in desugar, which you should file to Google. Can you provide details on the version of Gradle you used and its configuration, as well as the version of LeakCanary? Also ideally if you could reproduce this with a sample project and provide it, it would be helpful. Without all this information there's not much we can do. |
I have the same problemg . @pyricau |
|
Can you reproduce this with a sample project? |
|
Closing due to no response. Happy to take a look if someone can provide a sample project that reproduces this issue. |
|
I have the same issue with Proguard but with R8 everything is fine. unfortunately I can't use R8 yet |


Exception in thread "main" java.lang.NullPointerException: Couldn't find outer class leakcanary/internal/activity/screen/HeapAnalysisFailureScreen$createView$1$1 of leakcanary/internal/activity/screen/HeapAnalysisFailureScreen$createView$1$1$1
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:1079)
at com.google.devtools.build.android.desugar.ClassVsInterface.isOuterInterface(ClassVsInterface.java:56)
at com.google.devtools.build.android.desugar.InterfaceDesugaring.visitOuterClass(InterfaceDesugaring.java:246)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:638)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:500)
at com.google.devtools.build.android.desugar.Desugar.desugarClassesInInput(Desugar.java:477)
at com.google.devtools.build.android.desugar.Desugar.desugarOneInput(Desugar.java:361)
at com.google.devtools.build.android.desugar.Desugar.desugar(Desugar.java:314)
at com.google.devtools.build.android.desugar.Desugar.main(Desugar.java:711)