1

error wifi not connecting

enter image description here

enter image description here

I have already tried these solutions. Android Studio - Android Emulator Wifi Connected with No Internet

And every where I saw this solution. I tried that also

enter image description here

but not worked but in the this question Android Studio - Android Emulator Wifi Connected with No Internet I tried enter image description here this solution that's worked for me. Unfortunately when i shutdown and reOn my laptop I have to run that command. And also when i delete android API from android studio and when redownload the android and re create emulator then wifi is connecting for that time but when restart the windows then again i have to face the same issue. I couldn't understand what's the error for that. and also i have changed the emulator wifi dns like this enter image description here

but not it's not worked for me.

my emulator android version is android 13 android studio is " Flamingo 2022.2.1 "

How I solve this ?

Dasun Dola
  • 541
  • 2
  • 16

1 Answers1

1

For Windows users, you need to change the setting in your system/laptop.

  1. Go to network and internet option->

enter image description here

  1. Open Ethernet or wifi(for which you are connected) option -> enter image description here

  2. Click on change adapter option -> enter image description here

  3. Right-click on the network for which you have connected. enter image description here

  4. A dialog box will be opened and just click on the Internet protocol version (TCP/IPv4) option.

enter image description here

Another dialog box will be opened and there just neglect the first set about the IP address (Keep as it is set) and click radio button of Use the following DNS server addresses: and enter as 8.8.8.8 in Preferred DNS server: and 8.8.4.4 in Alternate DNS server:

enter image description here

Now restart the emulator.

Dinesh
  • 1,410
  • 2
  • 16
  • 29