Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Emulator - Wifi Error

I am using the Android SDK Emulator ad trying to connect to the web. I can not do it as in the settings > Wireless & Networks , Where i need to turn the WiFi On, i get "Error"

How to solve it?

Gorov

like image 967
GorovDude Avatar asked Jan 31 '11 10:01

GorovDude


4 Answers

You shouldn't need to "turn on" the wifi of the AVD. It should work using your computers internet connection. Here is what worked for me when wifi on my AVD stops working(I needed to reset my AVD):

  • Close AVD and confirm it is not running
  • Open AVD Manager in Android Studio (Tools > AVD Manager)
  • Click on the dropdown arrow on the right side of the emulator
  • Click "Wipe Data"
  • Confirm the internet on your computer is working then re-launch AVD

This issue recurs for me sometimes but after I complete the above steps it works again.

like image 144
Joe Galante Avatar answered Sep 20 '22 21:09

Joe Galante


I think, sometimes emulator wont connect to internet if you start the emulator after connecting your internet connection to the computer... try connecting the internet first and then starting the emulator....

like image 40
Farhan Avatar answered Sep 19 '22 21:09

Farhan


  1. Shut down the emulator.
  2. Turn off Ethernet, Firewire, and any other network interfaces. All of them. And I mean completely shut them off, e.g. on a Mac, open System Preferences > Network > Ethernet > Configure > OFF. Simply unplugging the Ethernet cable is not enough.
  3. Enable Wifi and verify it works.
  4. Launch the Android emulator.

It should now display a 3G icon (or similar) in the status bar, and you should be now able to surf the web.

like image 44
ettore Avatar answered Sep 20 '22 21:09

ettore


I made a factory reset in VS in manage android devices and after that emulator was connected to wifi!

like image 43
I.Step Avatar answered Sep 19 '22 21:09

I.Step