DEV Community

Discussion on: Android-Proguard

Collapse
 
mdev88 profile image
Martín Vukovic

A dangerous mistake is to forget that the obfuscation only takes place in the release build (if configured like in this article), not in debug, so maybe the app works fine when you are testing it by running it in Android Studio, but when you generate the relase bundle or APK it explores in your face, so be sure to test your app in release before publishing!

Collapse
 
svignesh93 profile image
Vignesh S

Yes, you're correct. Testing debug apk without configuring proguard, and failing to test release app with proguard configured, the app will have many surprises. 👍