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

纵饮孤独 提交于 2019-12-09 16:39:39

问题


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).


回答1:


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)




回答2:


While this blog post shows a way to have ADB over Bluetooth, it probably works for devices running CM only. Thus it seems that until further notice, it isn't possible to do the same on Android-x86 netbooks.



来源:https://stackoverflow.com/questions/12114133/debug-app-using-adb-over-bluetooth-for-on-an-android-x86-netbook

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!