HarmonyOS调用 gattClient.off('BLECharacteristicChange') 项目闪退
闪退日志:
1
PID = 30380
UID = 20020128
TID = 30308
App main thread is not response!
mainHandler dump is:
EventHandler dump begin curTime: 2024-05-08 02:48:22.109
Event runner (Thread name = , Thread ID = 30380) is running
Current Running: start at 2024-05-08 02:48:17.958, Event { send thread = 30380, send time = 2024-05-08 02:48:17.958, handle time = 2024-05-08 02:48:17.958, task name = uvLoopTask }
History event queue information:
No. 0 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.848, handle time = 2024-05-08 02:48:17.848, trigger time = 2024-05-08 02:48:17.848, completeTime time = 2024-05-08 02:48:17.849, task name = vSyncTask }
No. 1 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.799, handle time = 2024-05-08 02:48:17.850, trigger time = 2024-05-08 02:48:17.850, completeTime time = 2024-05-08 02:48:17.850, task name = }
No. 2 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.856, handle time = 2024-05-08 02:48:17.856, trigger time = 2024-05-08 02:48:17.856, completeTime time = 2024-05-08 02:48:17.857, task name = vSyncTask }
No. 3 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.807, handle time = 2024-05-08 02:48:17.858, trigger time = 2024-05-08 02:48:17.858, completeTime time = 2024-05-08 02:48:17.858, task name = }
No. 4 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.864, handle time = 2024-05-08 02:48:17.865, trigger time = 2024-05-08 02:48:17.865, completeTime time = 2024-05-08 02:48:17.866, task name = vSyncTask }
No. 5 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.565, handle time = 2024-05-08 02:48:17.865, trigger time = 2024-05-08 02:48:17.866, completeTime time = 2024-05-08 02:48:17.868, task name = uv_timer_task }
No. 6 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.816, handle time = 2024-05-08 02:48:17.867, trigger time = 2024-05-08 02:48:17.868, completeTime time = 2024-05-08 02:48:17.868, task name = }
No. 7 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.871, handle time = 2024-05-08 02:48:17.871, trigger time = 2024-05-08 02:48:17.871, completeTime time = 2024-05-08 02:48:17.872, task name = uvLoopTask }
No. 8 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.873, handle time = 2024-05-08 02:48:17.873, trigger time = 2024-05-08 02:48:17.873, completeTime time = 2024-05-08 02:48:17.874, task name = vSyncTask }
No. 9 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.825, handle time = 2024-05-08 02:48:17.876, trigger time = 2024-05-08 02:48:17.876, completeTime time = 2024-05-08 02:48:17.876, task name = }
No. 10 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.881, handle time = 2024-05-08 02:48:17.881, trigger time = 2024-05-08 02:48:17.881, completeTime time = 2024-05-08 02:48:17.882, task name = vSyncTask }
No. 11 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.833, handle time = 2024-05-08 02:48:17.884, trigger time = 2024-05-08 02:48:17.884, completeTime time = 2024-05-08 02:48:17.884, task name = }
No. 12 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.889, handle time = 2024-05-08 02:48:17.889, trigger time = 2024-05-08 02:48:17.889, completeTime time = 2024-05-08 02:48:17.891, task name = vSyncTask }
No. 13 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.841, handle time = 2024-05-08 02:48:17.892, trigger time = 2024-05-08 02:48:17.893, completeTime time = 2024-05-08 02:48:17.893, task name = }
No. 14 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.898, handle time = 2024-05-08 02:48:17.898, trigger time = 2024-05-08 02:48:17.898, completeTime time = 2024-05-08 02:48:17.899, task name = vSyncTask }
No. 15 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.848, handle time = 2024-05-08 02:48:17.899, trigger time = 2024-05-08 02:48:17.900, completeTime time = 2024-05-08 02:48:17.900, task name = }
No. 16 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.906, handle time = 2024-05-08 02:48:17.906, trigger time = 2024-05-08 02:48:17.906, completeTime time = 2024-05-08 02:48:17.907, task name = vSyncTask }
No. 17 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.857, handle time = 2024-05-08 02:48:17.908, trigger time = 2024-05-08 02:48:17.908, completeTime time = 2024-05-08 02:48:17.908, task name = }
No. 18 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.914, handle time = 2024-05-08 02:48:17.914, trigger time = 2024-05-08 02:48:17.914, completeTime time = 2024-05-08 02:48:17.916, task name = vSyncTask }
No. 19 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.866, handle time = 2024-05-08 02:48:17.917, trigger time = 2024-05-08 02:48:17.918, completeTime time = 2024-05-08 02:48:17.918, task name = }
No. 20 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.918, handle time = 2024-05-08 02:48:17.918, trigger time = 2024-05-08 02:48:17.918, completeTime time = 2024-05-08 02:48:17.919, task name = uvLoopTask }
No. 21 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.923, handle time = 2024-05-08 02:48:17.923, trigger time = 2024-05-08 02:48:17.923, completeTime time = 2024-05-08 02:48:17.924, task name = vSyncTask }
No. 22 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.873, handle time = 2024-05-08 02:48:17.924, trigger time = 2024-05-08 02:48:17.925, completeTime time = 2024-05-08 02:48:17.925, task name = }
No. 23 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.931, handle time = 2024-05-08 02:48:17.931, trigger time = 2024-05-08 02:48:17.931, completeTime time = 2024-05-08 02:48:17.933, task name = vSyncTask }
No. 24 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.882, handle time = 2024-05-08 02:48:17.933, trigger time = 2024-05-08 02:48:17.933, completeTime time = 2024-05-08 02:48:17.933, task name = }
No. 25 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.939, handle time = 2024-05-08 02:48:17.939, trigger time = 2024-05-08 02:48:17.939, completeTime time = 2024-05-08 02:48:17.941, task name = vSyncTask }
No. 26 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.890, handle time = 2024-05-08 02:48:17.941, trigger time = 2024-05-08 02:48:17.942, completeTime time = 2024-05-08 02:48:17.942, task name = }
No. 27 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.948, handle time = 2024-05-08 02:48:17.948, trigger time = 2024-05-08 02:48:17.948, completeTime time = 2024-05-08 02:48:17.949, task name = vSyncTask }
No. 28 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.899, handle time = 2024-05-08 02:48:17.950, trigger time = 2024-05-08 02:48:17.950, completeTime time = 2024-05-08 02:48:17.950, task name = }
No. 29 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.956, handle time = 2024-05-08 02:48:17.956, trigger time = 2024-05-08 02:48:17.956, completeTime time = 2024-05-08 02:48:17.958, task name = vSyncTask }
No. 30 : Event { send thread = 30380, send time = 2024-05-08 02:48:17.907, handle time = 2024-05-08 02:48:17.958, trigger
HarmonyOS
赞
收藏 0
回答 1
待解决
相关问题
HarmonyOS应用闪退问题
514浏览 • 1回复 待解决
HarmonyOS 页面返回时应用闪退报错
378浏览 • 1回复 待解决
HarmonyOS 使用AudioCapturer录音过程中闪退
104浏览 • 1回复 待解决
加载FFMpeg后APP出现闪退
40浏览 • 1回复 待解决
打开图库应用时偶尔会闪退
2345浏览 • 0回复 待解决
鸿蒙js开发 文件交互Api 闪退
6429浏览 • 2回复 待解决
HarmonyOS NEXT Developer Beta1模拟器闪退
1300浏览 • 1回复 待解决
闪退和报错日记获取有了解的吗?
2700浏览 • 1回复 待解决
事件订阅,闪退事件没有走到回调里面
1791浏览 • 1回复 待解决
怎样监听app 的闪退,当APP闪退的时候能够记录崩溃的日志,并上报服务端。能够分析。
2408浏览 • 1回复 待解决
crash闪退时能保存状态并重新恢复启动
975浏览 • 1回复 待解决
使用document类下的document.choose(),选择文件闪退 的问题?
5127浏览 • 2回复 待解决
HarmonyOS IJKPlayer跳转新页面后播放后返回旧页面重新播放导致闪退
358浏览 • 1回复 待解决
在子线程里面高刷调用canvas.drawPixelMapHolderRect;画图,然后模拟机闪退,请请帮帮忙怎么弄?
5450浏览 • 1回复 待解决
HarmonyOS 自定义弹窗内的 close方法闪退,应该是未定义,但不知如何调整
159浏览 • 1回复 待解决
触发文件关联文件关联后router跳转page就闪退该如何处理
1581浏览 • 1回复 待解决
native c++ assimp源码融入工程编译无报错,模拟器运行闪退怎么回事?
715浏览 • 1回复 待解决
屏幕右移有时退软件还退不出来
5915浏览 • 1回复 待解决
HarmonyOS audio.AudioCapturer的on('readData')与off('readData')问题
103浏览 • 1回复 待解决
ArkTS项目如何调用已有SO库?
803浏览 • 1回复 待解决
系统监听注册的on和off的用法问题
1743浏览 • 1回复 待解决
hilog -p off 在IDE中怎么关
258浏览 • 1回复 待解决
HarmonyOS emitter.off 不执行会不会有问题
305浏览 • 1回复 待解决
HarmonyOS video设置加载图闪屏
190浏览 • 1回复 待解决
HarmonyOS编译运行 ArkTS与 JS混合项目,接口调用有无性能问题
339浏览 • 2回复 待解决
可以参考以下代码:
同时需要开启权限
参考文档:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-bluetooth-ble-V5#offblecharacteristicchange