At the moment I\'m developing an Android app that is based on third party code. I started to set breakpoints for understanding the code and soon ran into a problem. Suddenly
In fact, there's a known issue in Android Studio: Gradle plugin does not propagate debug/release to dependencies. It seems to happen in A Studio 1.4 and 1.5 at least.
When an app is compiled in debug, its modules are in fact compiled in release. That's why proguard may be enabled in debug.
I recommend this answer that worked for me.