I\'m trying to access to the heart rate sensor of my LG Watch Urbane using this code on MainActivity.java:
mSensorManager = (SensorManager) getSystemService(
Ensure that your application has defined and granted the Body Sensors permission.
Verify that:
<uses-permission android:name="android.permission.BODY_SENSORS"/>
is present in your AndroidManifest.xml
Also, ensure that the permission has been granted by checking the Permissions settings on the watch: Settings -> Permissions -> Your app