I have successfully installed Android OS in Oracle virtual box, but I have one problem. I cannot connect to ADB in the Android OS virtual box.
In my Network settings in virtual box:
When I select host-only Adapter option, I can connect with adb, but I have no internet connection.
When I select NAT, I cannot connect with adb, but I have internet connection.
How do I fix this?