On Mac Os I solved No Internet Connection Problem on Genymotion emulator using next steps:
- Go to Android Settings -> System -> Developer Options -> Turn On Developer Options
- In Settings go to Network & Internet -> Mobile Network -> Turn Off Data Roaming
- In Settings go to Network & Internet -> Data usage -> Turn Off Mobile Data
- In Settings go to Network & Internet -> Wi-Fi -> Turn On Wi-Fi
And Internet Connection should be established. Also restarting the emulator may be required.
I didn't change anything in VirtualBox: