There are 2 ways to fix this bug.
- You should turn off android emulator and [cold boot] again.
If the first method doesn't work ...
- You should turn on [Plane Mode] (on top menu of screen) and after a sec turn off again. Then Wi-Fi will connect to the internet.