I've trying to connect ADB and a VirtualBox Android device. I've followed all possible tutorial on the web but it's still not working. What i've done :
netcfg
in the virtual machine terminal and get 192.168.1.12 for IP address (static)adb kill-server
on the host machineadb connect 192.168.1.12
on the host machineAnd get the error unable to connect to 192.168.1.12:5555. I'm running windows 7 as OS.
Have you any idea why ?? How to know the port of the device to connect ? Thank you !
Ensure that your VM has a USB controller added in its hardware configuration, and that Virtualbox Guest Additions are installed in the VM. Once you've done this, you'll see a USB icon at the bottom of your VM's window. Click on that, then select your Android device to give control of it to the VM.
First do the Port Forwarding settings like this
Then run this Command: adb connect 127.0.0.1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With