Prabhu M
Prabhu M

Reputation: 3600

No Internet connection on any emulator

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

Answers (4)

Rajkumar
Rajkumar

Reputation: 189

try this it worked for me.

Run -> Run Configurations -> Target -> Network Latency -> EDGE

Upvotes: 1

Abdul Rehman
Abdul Rehman

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

Ramesh Maldakal
Ramesh Maldakal

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

Hardik Trivedi
Hardik Trivedi

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

Related Questions