A dialog box will be opened and just click on Internet protocal version (TCP/IPv4) option. Right click on the network for which you have connected.
The simplest solution I found out is:Go to your Android\Sdk\emulator folder and open command prompt.Type emulator -list-avds to see available emulator names.Type emulator -avd name-of-your-device -netdelay none -netspeed full -dns-server 8.8. How do I enable Internet on Android emulator?