No internet access on Android Emulator, Shared Internet Connection

北慕城南 提交于 2019-12-01 18:53:17

Finally I sorted out my problem.

It was problem due to dns server address.

I did below steps

  1. open CMD
  2. Goto your android-sdk/tools path, Like my path is G:\Andriod Development\android-sdk\tools
  3. type this command G:\Andriod Development\android-sdk\tools>emulator.exe -avd Android_2.3.3 -dns-server 8.8.8.8 -scale 0.75

here Android_2.3.3 is your AVD name, -dns-server 8.8.8.8 will set your DNS address to 8.8.8.8 or 8.8.8.8:55 and -scale will scale your AVD to specified value.

this will start a new emulator. Enjoy :)

Hope may be helpful to others

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!