IntelliJ dont stop in breakpoints when debugging android application

android, debugging, intellij-idea

Solution

First, make sure your IntellJ IDEA instance is up to date, there have been a couple of recent bugfixes related to this. (Ex: https://youtrack.jetbrains.com/issue/IDEA-81769)

Otherwise:

If android:process is set this may be your issue: https://youtrack.jetbrains.com/issue/IDEA-64456

Else you might have the problem described here: https://youtrack.jetbrains.com/issue/IDEA-95721

Unfortunately this second link lacks any sort of concrete help from the IntellJ team yet. One workaround is to use Eclipse for debugging temporarily, although that's a kinda awful solution.

Problem

I connect the debugger to my emulator and the idea console say : ``` Connected to the target VM, address: localhost:8612,transport:`socket` ``` But when i want to test my app it doesnt stop in Break points ! See this screen shot : And this : I test it with emulator and physical device and also rebuild project and also restart idea ! but doesn't work.

Original source

Related problems