我一直在尝试开发应用程序,并在虚拟机器上的Android x86上对它们进行测试。我遇到的问题是,它在打开蓝牙时挂起,而且从来没有真正打开过它。我使用的是macbook蓝牙。我已经在虚拟框上启用了它(旁边有个勾号)。我想知道有没有解决这个问题的方法,因为我没有Android手机来测试它。我使用的是Android x86 2.2。
我的日志猫:
I/ActivityManager( 2052): Starting activity: Intent { cmp=com.project.saff/.FaultScreenConnect }
I/ActivityManager( 2052): Displayed activity com.project.saff/.FaultScreenConnect: 189 ms (total 189 ms)
I/ActivityManager( 2052): Starting activity: Intent { act=android.bluetooth.adapter.action.REQUEST_ENABLE cmp=com.android.settings/.bluetooth.RequestPermissionActivity }
I/ActivityManager( 2052): Starting activity: Intent { act=com.android.settings.bluetooth.ACTION_INTERNAL_REQUEST_BT_ON cmp=com.android.settings/.bluetooth.RequestPermissionHelperActivity }
I/ActivityManager( 2052): Displayed activity com.android.settings/.bluetooth.RequestPermissionHelperActivity: 193 ms (total 198 ms)
I/ActivityManager( 2052): Displayed activity com.android.settings/.bluetooth.RequestPermissionActivity: 198 ms (total 198 ms)
D/BluetoothService( 2052): Bluetooth state 10 -> 11
V/BluetoothEventRedirector( 2147): Received android.bluetooth.adapter.action.STATE_CHANGED
I/bluedroid( 2052): Starting hciattach daemon
I/bluedroid( 2052): Stopping bluetoothd deamon
I/bluedroid( 2052): Stopping hciattach deamon
I/bluedroid( 2052): Stopping bluetoothd deamon
I/bluedroid( 2052): Stopping hciattach deamon
I/bluedroid( 2052): Stopping bluetoothd deamon
I/bluedroid( 2052): Stopping hciattach deamon
D/dalvikvm( 2291): GC_EXPLICIT freed 1414 objects / 101976 bytes in 4ms
I/bluedroid( 2052): Stopping bluetoothd deamon
I/bluedroid( 2052): Stopping hciattach deamon
I/bluedroid( 2052): Stopping bluetoothd deamon
I/bluedroid( 2052): Stopping hciattach deamon
I/bluedroid( 2052): Stopping bluetoothd deamon
I/bluedroid( 2052): Stopping hciattach deamon
I/bluedroid( 2052): Stopping bluetoothd deamon
I/bluedroid( 2052): Stopping hciattach deamon
I/bluedroid( 2052): Stopping bluetoothd deamon
I/bluedroid( 2052): Stopping hciattach deamon
I/bluedroid( 2052): Stopping bluetoothd deamon
I/bluedroid( 2052): Stopping hciattach deamon
I/bluedroid( 2052): Stopping bluetoothd deamon
I/bluedroid( 2052): Stopping hciattach deamon
E/bluedroid( 2052): bt_enable: Timeout waiting for HCI device to come up
D/BluetoothService( 2052): Bluetooth state 11 -> 10
V/BluetoothEventRedirector( 2147): Received android.bluetooth.adapter.action.STATE_CHANGED
发布于 2011-11-14 07:50:15
安卓的x86模拟器,你可以在上面运行谷歌电视,目前只能在带有KVM-supported内核(在中支持英特尔虚拟化)的KVM linux上运行。目前不支持Windows和Mac OS X。
System reqs
https://stackoverflow.com/questions/8115193
复制相似问题