Android Studio's debugger not stopping at breakpoints within library modules

前端 未结 7 1316
难免孤独
难免孤独 2020-12-03 00:27

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

7条回答
  •  悲哀的现实
    2020-12-03 00:59

    As stated in the comments of this issue, setting minifyEnabled false in the debug build is the best practice. By setting this variable in the app module you are disabling the entire proguard build process. It is useful when optimizing the release build, but gives some problems if you are testing and developing.

提交回复
热议问题