Reputation: 3600
I am not getting internet connection in the android emulator. I have tried all solutions from the following links, Link1, Link2, Link3 But Still I am not getting internet connection in emulator. There are no proxy settings on my machine.Windows firewall is off. How to fix this issue.
Upvotes: 3
Views: 1180
Reputation: 189
try this it worked for me.
Run -> Run Configurations -> Target -> Network Latency -> EDGE
Upvotes: 1
Reputation: 373
Try this:
Run -> Run Configurations -> Select Target tab -> Select your Target Emulator Device and in Additional Emulator Command Line Options field type -dns-server x.x.x.x (x.x.x.x is the IP address of your DNS server). Restart Emulator and have fun :-)
Upvotes: 0
Reputation: 3422
try the following one:
Kill the adb : kill-adb server
than start the adb : start-adb server
than enter the following command : C:\ProgramFiles\Android\android-sdk\platform-tools\emulator -avd -dns-server 8.8.8.8
Upvotes: 0
Reputation: 6112
Even if by pressing F8 your internet connection is not working. Just make sure when you have started your emulator your machine is already connected with internet. If you start emulator first and then connect to internet, it will not work in your emulator.
Upvotes: 4