georgehuan1994 / DingDing-Automatic-Clock-in

钉钉全自动打卡脚本,基于auto.js,免root,适用于蓝牙考勤机
843 stars 221 forks source link

请问启动的时候出现这个错误是什么原因呀,魅族手机 #38

Open jesse-XD opened 2 years ago

jesse-XD commented 2 years ago

18:00:49.516/E: Wrapped java.lang.NullPointerException: Attempt to read from field 'int android.accessibilityservice.AccessibilityServiceInfo.flags' on a null object reference (/storage/emulated/0/脚本/DingDing-Automatic-Clock-in.js#80) Wrapped java.lang.NullPointerException: Attempt to read from field 'int android.accessibilityservice.AccessibilityServiceInfo.flags' on a null object reference at /storage/emulated/0/脚本/DingDing-Automatic-Clock-in.js:80:

第80行是这个代码 events.observeKey()