简体   繁体   中英

How to solve debug problem in android studio

When i debug my project I faced the below error :

《Disconnected from the target VM, adress:'localhost:8600', transport: 'socket'》

Please help me resolve it. Any pointers would be helpful.

you can restart your ADB like below in you CMD in windows:

  1. adb kill-server
  2. adb start-server

or you can connect your device via WIFI, it's better:

  1. connect you device
  2. in cmd: adb tcpip 5555
  3. and find your phone ip and run cmd code: adb connect ip:5555

and finally pull your cable and your connected via WIFI

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM