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 issue with Ser

See original GitHub issue

It looks like the public constructor is getting stripped.

Our solution is:

-keepclassmembers class org.threeten.bp.Ser {
    <init>();
}

but not sure if more would need to be done.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
JakeWhartoncommented, Mar 27, 2020

AGP 3.6 and R8 full mode causes the existing serialization test to fail because of Ser’s missing ctor (on 1.4.1). Bumping to 1.4.2 fixes it.

0reactions
eygrabercommented, Mar 27, 2020

We also use full mode.

And the java.time desugaring seems to be working well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

r8 - Git at Google
R8 is a java program shrinking and minification tool that converts java ... For R8, find known issues in the R8 issue tracker...
Read more >
CIRCULAR REFERENCE: com.android.tools.r8.internal.R10 ...
I am running into the same issue after upgrading Kotlin to 1.6.20-RC2 (also updated Compose compiler to a compatible build). I am using...
Read more >
I'm getting an error when using the code shrinker 'R8'
Java.Lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.ClassNotFoundException: Didn't find class ...
Read more >
Debugging Proguard configuration issues
Just a quick overview of what we have with Proguard/R8 and what might cause issues in release builds. The basic setup for release...
Read more >
How to fix crashes due to ProGuard/R8? - Stack Overflow
Add these in your proguard-rules and just follow the instructions on your logcat: -addconfigurationdebugging -dontobfuscate.
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