I have wasted a whole day trying out different solutions floating around in SO and other place mentioned to enable wifi on the android emulator but to no avail. Can anybody
100% Working on Windows 10
Android AVD come with Google DSN configured inside emulators. So we need to set same to network sharing for accessing same.
Google Public DNS IP addresses The Google Public DNS IP addresses (IPv4) are as follows:
8.8.8.8
8.8.4.4
The Google Public DNS IPv6 addresses are as follows:
2001:4860:4860::8888 2001:4860:4860::8844 You can use either address as your primary or secondary DNS server.
More Info
Here I show for setting v4 IP steps
Note : If VPN is enabled then it will not work need to disconnect your VPN