Ddms - Can't Bind To Local 8600 For Debugger On Android Studio
Solution 1:
Try killing the adb server
and restarting the adb server
from terminal
.
adb kill-server
adb start-server
Also on your mobile device, toggle the usb debugging. Both of these combine worked for me when I had this issue.
Also you may want to consider using Stetho by Facebook, you can view your database as well as run queries with Stetho
. Stetho
also lets you watch network calls, view your view hierarchy and more.
Solution 2:
On Mac, Open terminal and type:
sudo nano /etc/hosts
Add following line to your hosts file
127.0.0.1 localhost
Save and exit.
In Android Studio, you can start debugging again. I got stuck with the same problem and I ended up doing above, problem solved.
Hope this helps :) .
Solution 3:
For osx users
Yes you need to restart adb. Simply restart android studio should do the trick. If it's still not working, force killing the thread on port 8600 by this
[sudo] lsof -i :8600
Then for the PID
kill -9 <PID>
Solution 4:
A similar question helped me solve this issue here:
Android Studio and android device monitor
By opening DDMS from within Android Studio, I am able to bind and monitor my android devices with no more broken pipes or port conflicts.
Simply follow these steps to open DDMS from within android studio: Select Tools > Android > Android Device Monitor
I can only assume AS runs a DDMS instance silently, since when AS is closed, manually opening DDMS has no issues. Only when AS is running do I get this when running DDMS from the CLI
Solution 5:
What worked for me was restarting the computer. I think this happened after force-quitting Android Studio.
Post a Comment for "Ddms - Can't Bind To Local 8600 For Debugger On Android Studio"