在pc机上开发android app时,在使用avd模拟器时,使用的host不是pc机上的hosts,而是模拟器自己的hosts



具体设置方式见如下


原文链接:http://www.jianshu.com/p/cafa26b05d19