0

The debugger does not stop on any breakpoints. I tried clearing all breakpoints and adding them back in but I am seeing debug statements in the console.

According to this answer, Inside build.gradle for your app module, disable minifyEnable for my build variant and change it to false.

debug {
        debuggable true
        minifyEnabled false
        shrinkResources true
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }


I did it also but also but still same problem.

RKRK
  • 1,284
  • 5
  • 14
  • 18
Faisal Mohammad
  • 427
  • 1
  • 9
  • 27

1 Answers1

2

Since you're in debug configuration you don't need to shrink resources or add proguard

debug {
    debuggable true
    minifyEnabled false
    shrinkResources true
    proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}

change to

debug {
    debuggable true
    minifyEnabled false
   // shrinkResources true
  //  proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
Manoj Perumarath
  • 9,337
  • 8
  • 56
  • 77