Skip to content

Write Characteristic  #1

@KavithaAnandan

Description

@KavithaAnandan

java.lang.NullPointerException: Attempt to invoke virtual method 'android.bluetooth.BluetoothGattCharacteristic android.bluetooth.BluetoothGattService.getCharacteristic(java.util.UUID)' on a null object reference

When i tried to get heart rate using miband.startHeartRateScan()
am getting the mentioned error.
Can anyone help me to solve this issue??
It will be very helpful for everyone looking for those who facing this issue. And this issue is coming when we either add sdk as module or dependency file in gradle

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions