Proguard on Android issues
See original GitHub issueHi, i’m using ktor for simple rest server on Android app. Everything works fine, but if i run proguard, then hell is unleashed and i have over 680 issues with progurad. 100% problems is resolved by:
-dontwarn io.netty.**
-dontwarn io.ktor.**
-dontwarn com.typesafe.**
But server is not responding after start so i’m assuming, that proguard rules should be different 😃
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:11 (3 by maintainers)
Top Results From Across the Web
Troubleshooting ProGuard issues on Android - Medium
In some cases ProGuard can't know that a class or method is being used, such as when it's only referenced by reflection, from...
Read more >ProGuard Manual: Troubleshooting - Guardsquare
If the missing class is an Android run-time class, you should make sure that you are building against an Android run-time that is...
Read more >Pro-guard Obfuscation not working in android studio
1) Go to the build.gradle file of app · 2) enable the proguard minifyEnabled true and useProguard true · 3) enable shrinkResources true...
Read more >Debugging Proguard configuration issues
To debug Proguard/R8 configuration one can assemble release build and navigate to app\build\outputs\mapping\release . There you'll see the ...
Read more >ProGuard Troubleshooting
ProGuard continues copying the resource files as usual, skipping any files with previously used names. Once more, the warning may be an indication...
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
Hello, Could you share latest proguard rules for Android please?
This worked for me. Running release apk works too.