基于 Android 4.0 的 Virtual Box 模拟器无法从笔记本电脑检测到蓝牙 4.0 [英] Android 4.0 based Virtual Box emulator can't detect Bluetooth 4.0 from Laptop

查看:66
本文介绍了基于 Android 4.0 的 Virtual Box 模拟器无法从笔记本电脑检测到蓝牙 4.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我正在开发与蓝牙 4.0 设备通信的 Android 应用程序.到目前为止,我在我的应用程序中包含了 broadcom-ble 并做了一些示例代码.实际上我没有基于蓝牙 4.0 的 Android 智能手机,因此出于测试目的,我只是安装了 Oracle Virtual Box 并在其中使用了 android-x86-4.0-RC2.iso.我可以在 Virtual Box 上成功运行一些基于蓝牙的示例 android 应用程序.问题是 Virtual Box 可以从我的笔记本电脑上找到蓝牙 2.0.但是当我尝试使用蓝牙 4.0 时,VM 无法检测到蓝牙 4.0 .我的笔记本电脑有蓝牙 4.0,但虚拟机找不到蓝牙 4.0.我在虚拟机上安装了 android-x86-4.0-RC2.iso.如何让我的 Android 4.0 虚拟机可以从我的笔记本电脑检测到蓝牙 4.0.

Currently I am working on Android application which is communicates with the Bluetooth 4.0 Device. As of now, I included broadcom-ble in my application and did some sample codes. Actually I don't have Bluetooth 4.0 based Android Smart phone , so for the testing purpose I just Installed Oracle Virtual Box and used android-x86-4.0-RC2.iso in it. I can successfully run some sample Bluetooth based android application on Virtual Box. The problem is Virtual Box can find Bluetooth 2.0 from my laptop. but when I try to use Bluetooth 4.0 , VM can't detect Bluetooth 4.0 . My Laptop have Bluetooth 4.0, but VM machine can't find Bluetooth 4.0. I was Installed android-x86-4.0-RC2.iso on Virtual Machine. How can I make my Android 4.0 Virtual machine can detect Bluetooth 4.0 from my Laptop.

注意:我使用相同的 Android 4.0 VM 从笔记本电脑成功检测到蓝牙 2.0,问题仅适用于蓝牙 4.0.我正在使用包含蓝牙 4.0 的 Sony Vaio.

Note: I was successfully detected Bluetooth 2.0 from Laptop using the same Android 4.0 VM, the problem is only for Bluetooth 4.0 . I am using Sony Vaio which contains Bluetooth 4.0.

请有人帮助我.

推荐答案

问题可能出在 USB 上,因为当您使用笔记本电脑蓝牙时,Virtual Box 会将您的笔记本电脑蓝牙视为 USB 设备.升级Oracle VM版本,问题就解决了.

Problem maybe is on the USB, because when you are using the laptop bluetooth, Virtual Box takes your laptop bluetooth as a USB Device. Upgrade the Oracle VM version, it will solve the problem.

这篇关于基于 Android 4.0 的 Virtual Box 模拟器无法从笔记本电脑检测到蓝牙 4.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆