博主您好: 下的您的代码,执行到 BluetoothClientConnThread的run中的socket.connect();时报错,报错内容为: java.io.IOException: Service discovery failed at android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:455) at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:265) at com.ds.bluetoothUtil.BluetoothClientConnThread.run(BluetoothClientConnThread.java:47) 能帮我解答一下吗
下的您的代码,执行到 BluetoothClientConnThread的run中的socket.connect();时报错,报错内容为:
java.io.IOException: Service discovery failed
at android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:455)
at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:265)
at com.ds.bluetoothUtil.BluetoothClientConnThread.run(BluetoothClientConnThread.java:47)
能帮我解答一下吗