[CTS] CtsBluetoothTestCases fail

android.bluetooth.cts.BluetoothLeScanTest#testBasicBleScan    fail junit.framework.AssertionFailedError: Scan results shouldn't be empty
android.bluetooth.cts.BluetoothLeScanTest#testOpportunisticScan    fail junit.framework.AssertionFailedError: Scan results shouldn't be empty    打开Location到High accuracy, Scanning/bt scanning
android.bluetooth.cts.BluetoothLeScanTest#testScanFilter    fail junit.framework.AssertionFailedError: Scan results shouldn't be empty
android.bluetooth.cts.BluetoothLeScanTest#testStartScanPendingIntent fail junit.framework.AssertionFailedError: Scan results shouldn't be empty
android.bluetooth.cts.BluetoothLeScanTest#testStartScanPendingIntent_nullnull    fail junit.framework.AssertionFailedError: Scan results not received

解决方案


蓝牙扫描失败
android.bluetooth.cts.BluetoothLeScanTest#testBasicBleScan android.bluetooth.cts.BluetoothLeScanTest#testOpportunisticScan android.bluetooth.cts.BluetoothLeScanTest#testScanFilter
分析: 由于蓝牙信标定位失败引起
检查定位(Location)是否开启
测试设备周围存在多个蓝牙设备
安装 TxEddystone-UID-release.apk至辅助机,并开启。

作者: RESSRC

个人资源站

发表评论

邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据