I WAS successfully installed Android-x86-v3.2-eeepc in VirtualBox for a while. And it is a good method to help me to debug USB host applications on Android. The installation of such configuration is:
Normally, it should be all right to get connected to adb daemon running in Android-in-VBox.
Today, it suddenly prompts me as following:
C:\>adb connect 192.168.56.101
unable to parse 192.168.56.101 as <host>:<port>
I tried to ping its IP. It has a fast response. I tried to enforce IP and port.
C:\>adb connect 192.168.56.101:5554
unable to connect to 192.168.56.101:5554
I have no idea about its root cause. I checked the firewall, VirtualBox is on the Exception List. It still doesn't work.
PC Configuration: Windows XP VirtualBox V4.1
Launch the VMTo start installing Android, just select the VM and then click start. You may be asked to “Select a start-up disk”, if so, select the Android ISO. The next screen will show boot options, to install Android to the VM you need to scroll down and select the “Installation” option.
To connect Android virtual machine with adb follow these step
On Android home screen, press ALT+F1 (Left alt). This will open a terminal with root access.
Inside the terminal, type dhcpcd eth0
. Execute the command twice, if you get an error or no result. This will give you an IP addresss. Now press ALT+F7 for close the terminal.
Verify your IP address using the command ping <your IP Address>
From the android terminal, type adb tcpip 5555
. This will restart adb in tcpip mode.
From your main OS terminal, type adb connect <your IP address>
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