我在用native.js调用ble蓝牙连接函数的时候出现了以下错误,不知道是什么原因。请帮我分析一下,谢谢。
调用方法:
bluetoothDevice.connectGatt(main, false, gattCallback);
错误:
Uncaught Attempt to read from field 'java.lang.Class io.dcloud.invocation.c.b' on a null object reference;at android.bluetooth.BluetoothDevice.connectGatt at index.html:1
4 个回复
2***@qq.com
java.lang.Class io.dcloud.invocation.c.b' on a null object reference
你这个问题解决了吗 我也遇到了
逼死处女座
这个问题解决了吗?
诗小柒
我也遇到了,请问解决了嘛
Payne
我也遇到了;请问解决了么?