Reputation: 335
After noticing that some breakpoints are not getting hit, I found this post that answers why:
Breakpoints not working on Android Studio 3.3
I don't recall this happening prior to Android Studio 3.3. Is there any way to stop this behavior so that breakpoints will get hit on conditional statements?
Upvotes: 6
Views: 5004
Reputation: 787
Rebuild solved my problem.
clean & rebuild
Invalidates caches/restart if necessary
Upvotes: 3
Reputation: 857
In my case I fixed the problem by updating Android Studio to the latest version 4.0.1.
Upvotes: 0
Reputation: 407
Found here setting minifyEnabled false in the debug build is the best practice.
I just change minifyEnabled in build.grandle to 'false' on debug buildTypes and it works!
Upvotes: 4