No internet access on Android Emulator, Shared Internet Connection

后端 未结 1 397
感动是毒
感动是毒 2021-01-19 07:23

I have Installed Eclipse Juno and Updated the ADT as well to 22.0, I have created a custom AVD of Android 2.3 version as is working fine, but it seems there is no internet c

相关标签:
1条回答
  • 2021-01-19 08:07

    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

    0 讨论(0)
提交回复
热议问题