Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

If you use NAT you must add the right forwarding rule: Go to your network configuration. Select NAT, put PCnet-FAST III as adapter, and deny in mode. Then click in the button to add the rules and add a rule for TCP where the host and guest ports are 5555.

Always the most sneaky part is the network configuration of the VM, try with this one. If you still have issues check this tutorials: Speeding up Android development with Android-x86 and VirtualBox

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.