android debugger does not stop at breakpoints

前端 未结 5 1165
心在旅途
心在旅途 2021-02-11 15:06

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

5条回答
  •  天涯浪人
    2021-02-11 16:10

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

    minifyEnabled false
    

    othewise you will see Line number not available in class xxxx when you hover over breakpoint markers and they will be looked with a cross on them

提交回复
热议问题