You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
一个是断开连接,liteBluetooth.closeBluetoothGatt();不知道调用的时机是?我在onDestroy中调用总会报“Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.bluetooth.BluetoothGatt.close()' on a null object reference”这个错误。
一个是刷新cache,不好意想问下这个作用是?我也有尝试调用过,也会报空指针的错误。
还望赐教,谢谢!!
The text was updated successfully, but these errors were encountered:
一个是断开连接,liteBluetooth.closeBluetoothGatt();不知道调用的时机是?我在onDestroy中调用总会报“Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.bluetooth.BluetoothGatt.close()' on a null object reference”这个错误。
一个是刷新cache,不好意想问下这个作用是?我也有尝试调用过,也会报空指针的错误。
还望赐教,谢谢!!
The text was updated successfully, but these errors were encountered: