ProGuard rules for 3.0.0-beta
See original GitHub issueThis isn’t really an issue as such, but I couldn’t find an answer for this anywhere. The existing 2.x ProGuard rules don’t cut the mustard:
EventBusException: Could not find subscriber method in class com.example.Activity. Maybe a missing ProGuard rule?
Short of downgrading to 2.x, naming all event methods identically, or manually adding each method signature to proguard, is there a known way to get eventbus annotations working with proguard?
Issue Analytics
- State:
- Created 8 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Proguard rules for Maps v3.0.0 Beta - Stack Overflow
I've been trying to implement the new maps api that google encourages people to start using and I can't get over an error...
Read more >Crash, marker taps ignored due to incorrect ProGuard ...
The last line was recommended by DexGuard's config debugging at runtime and seems to help. # Google Maps 3.0.0 Beta -keep,includecode class com.google.android....
Read more >react-native-background-geolocation/android - UNPKG
react-native-background-geolocation/android ; android.iml, 709 B ; app.gradle, 887 B ; build.gradle, 2.99 kB ; proguard-rules.pro, 1.1 kB ...
Read more >ProGuard Manual: Usage - Guardsquare
Specifies that the entry points specified in the -keep option may be obfuscated, even if they have to be preserved otherwise. That is,...
Read more >Recent Support Library Revisions - Android Developers
PreferenceDataStore now also correctly restores default values. Revision 28.0.0 Beta 1. (July 2018). This beta release of ...
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’ve added the proguard config as newly noted in #221, however, I get warning:
build.gradle
proguard-rules.pro
Thanks @talklittle. Turns out I needed an extra proguard rule in my specific case.