Search code examples
delphifiremonkeyrad-studio

FMX debugging Can't bind address, Address already in use


First time debugging from PC to Mobile Phone work fine, when try again get error.

Any solution how fix this when try more debugging.

enter image description here


Solution

  • There is no easy and fast solution.

    You may need to:

    1. Restart IDE
    2. Kill adb.exe
    3. Restart Windows
    4. Restart device

    Sometimes you will be able to debug again after doing only some of the above steps, however often you will need to do all of them.

    Since every try takes plenty of time, I found out that complete Windows restart + device restart is the fastest thing to do.