Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debug app using ADB over Bluetooth for on an Android-x86 netbook

I managed to set a nicely working Android-x86 on my netbook, with Bluetooth enabled and paired (!) with my Windows 7 development workstation.

I was initially hoping to use adb with it just as I am doing with real phones, via USB. So I plugged in a dedicated USB male-to-male cable and... nothing happened. Turns out Android-x86 doesn't support connection via USB cable.

I then found great instructions on how to do ADB over WiFi. The problem is that I have WiFi on my Android-x86 netbook but not on my Windows 7 desktop PC. I do have the option of buying a WiFi dongle but I prefer a more immediate solution.

I happen to have Bluetooth working both on my Android-x86 netbook and on my PC, so I was hoping to find a solution that can allow me to proceed quickly with ADB over Bluetooth. I found very encouraging instruction here: https://stackoverflow.com/a/11129818 but unfortunately the so called ADB over Network is nowhere to be found on my Android-x86 device.

Any tip or idea how to make ADB over Bluetooth work for on my Android-x86 netbook?

I believe that if I can make my Android-x86's bluetooth have an IP address, I can go from there, but how do I do that? (ifconfig doesn't work in Android's Terminal Emulator).

like image 465
an00b Avatar asked Aug 24 '12 17:08

an00b


1 Answers

Was the dedicated cable one of those host-to-host cables, or was it a OTG cable? Do you have any reason to expect either device to support OTG?

(If it's a host-to-host cable it'll have some electronics in the middle, if it's OTG then it'll really just be a cable)

like image 55
Lawrence D'Anna Avatar answered Sep 24 '22 00:09

Lawrence D'Anna