引言 今天在用Android Studio的时候需要debug一下,不知道怎么回事,一直停在”Force Close”界面,尝试了各种方法,google完,被迫用百度,也不好使.最后回过头来看了这篇帖子Could not open selected VM debug port (8700),在这篇帖子里找127.0.0.1关键字.起初我也看到这篇帖子了,没往我改了hosts的方面去想,心想我改个hosts,和Android Studio不能调试有半毛钱关系.各找方法都是过以后,才想起来可能是这个hosts的问题.因为我复制的那个Hosts里没有添加 127.0.0.1 localhost.不太明白原理,解决了问题也是极好的……