Start Android app error under eclipse: Failed to initialize Monitor thread:unable to establish loopback connection

Source: Internet
Author: User

There are a number of solutions available on the Internet, mainly in the following ways:

1 shut down Windows Firewall;

2 Turn off IPv6 or set IPv4 preferences, specifically: In Device Manager, Show hidden devices, disable a network device beginning with "Teredo", Increase in Eclipse.ini file (last line parameter)

OpenFile
-vmargs
-djava.net.preferipv4stack=true

3 Turn off the virtual NIC (virtual network adapter created by VMware, VirtualBox, etc.);

My first do 2, 32 steps, have no success, forced to do 1, the results of the problem solved, DDMS started, logcat rolling. But shut down the firewall after all, no trust, and then start the firewall, the problem is not reproduced, it is strange. But the firewall is still in the safe period, while adding an exception to the firewall rules,

The picture is cracked ...

The rule is simple, which is to allow all traffic in port 5037, there is still a security risk, but better than shutting down the firewall. Of course, programs can also be restricted to reduce security risks. Add Rule method: http://jingyan.baidu.com/article/c843ea0b7d5c7177931e4ab1.html

Original link:

Http://www.cnblogs.com/tt-0411/archive/2013/01/02/2842434.html

Start Android app error under eclipse: Failed to initialize Monitor thread:unable to establish loopback connection

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.