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至辅助机,并开启。