Android Studio cannot debug

Source: Internet
Author: User

Reference Blog Address: http://blog.csdn.net/zhqshx/article/details/39339903

Android Studio cannot single point debug error message: Connected to the target VM, address: ' localhost:8600 ', Transport: ' Socket '

1.views of StackOverflowThe following blog still does not solve the problem

Http://stackoverflow.com/questions/18907539/a-proper-way-to-debug-a-service-in-android-studio

( The link is positive: because multiple processes are registered in an app, one of the processes must be selected for debugging )

Http://stackoverflow.com/questions/21745143/android-studio-cant-connect-to-debug-devices

2.initial judgment is port occupancy issues

Linux The following view ports refer to this blog: http://blog.csdn.net/spring19840513/article/details/6440241

View to port is occupied by program: [Email protected]:~ $lsof-i:8600
COMMAND PID USER FD typedevice size/off NODE NAME
Java 9512 zuozheng 484u IPv4212534 0t0 TCP localhost:8600 (LISTEN)

Kill the corresponding program: sudo kill9512


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Android Studio cannot debug

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.