R8 issue with Ser
See original GitHub issueIt 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:
- Created 4 years ago
- Reactions:1
- Comments:14 (8 by maintainers)
Top 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 >
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 Free
Top 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

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.We also use full mode.
And the java.time desugaring seems to be working well.