Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
499 views
in Technique[技术] by (71.8m points)

android - Eclipse: Failed to initialize Monitor Thread: Unable to establish loopback connection

I have Eclipse Indigo installed on Win7 64bit with the ADT plugin and Android SDK's installed.

An error occurs when I have my emulator open and I try to launch my test application:

Failed to initialize Monitor Thread: Unable to establish loopback connection

I have looked into this error and it most often appears to be a firewall issue but with the firewall turned off I still get the error. Would it have anything to do with me having another Eclipse based IDE installed (Aptana 3)?

Things I have tried so far:

  • Turn firewall off
  • changed ddms port to 8601
  • checked localhost is set to 127.0.01

I'm running out of ideas so any help of suggestions would be appreciated.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

No need to disable IPV6. Just force Eclipse to use IPV4. Edit eclipse.ini and add the last line:

openFile
-vmargs
-Djava.net.preferIPv4Stack=true

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...