0

Android Studio can't connect to debug devices. I use windows

Connecting to the target VM, address: 'localhost:8600', transport: 'socket'

I think that there is process occupy the port "8600" When I executenetstat -ano|findstr 8600 in CMD, I find this

TCP 127.0.0.1:8600 0.0.0.0 LISTENING 1948

the process PID is 1948 but when I executetaskkill /f /pid 1948to kill the process by it's PID, it return me that no process's pid is 1948 I can't debug in eclipse either, the port 8601 is occupied too; someone know how to solve that?

bruceyan
  • 1
  • 1
  • Have you tried restarting ADB? Looks like there's a similar thread over here: http://stackoverflow.com/questions/3318738/eclipse-ddms-error-cant-bind-to-local-8600-for-debugger – Ben Pearson Nov 07 '14 at 15:53
  • Yes,but it doesn't work,I excute adb get-state,and try adb kill-server and start-server. – bruceyan Nov 09 '14 at 15:10
  • You don't have eclipse and Android Studio running at the same time do you? – Ben Pearson Nov 09 '14 at 18:02
  • Yes,I close all of them! It's Strange! – bruceyan Nov 10 '14 at 09:59
  • 1
    Finally I find the problem, Because of android L 5.0 used ART, so In ART model, debug app becomes very slow(I don't know why). If change the Runtime to dalvik , the problem is solved! – bruceyan Nov 20 '14 at 11:48

0 Answers0