Android Debugging is not working

PROBLEM

You add breakpoints and you cannot debug your code.

CAUSE

The problem might be that you have ProGuard enabled in the gradle file.

buildTypes {
  release {
     minifyEnabled true
}

SOLUTION

So if you set minifyEnabled to FALSE, your debugging should start working.

If this is not the issue, then you can try restart AndroidStudio or your device.

Menu