Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 666
user_odoo Avatar asked Nov 25 '25 15:11

user_odoo


2 Answers

Add -debugport=54321 to Run->Parameters Parameters. By the way, the "inconsistent certificates" message is because the apk on the device was compiled with a different version of Delphi than the one you are using right now. You will have to uninstall it from the phone first. You can also use -cleaninstall in the Run->Parameters Parameters field.

like image 78
Freddie Bell Avatar answered Nov 27 '25 04:11

Freddie Bell


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.

like image 29
Dalija Prasnikar Avatar answered Nov 27 '25 04:11

Dalija Prasnikar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!