如题,手机为小米12p,系统为安卓13的miui14.23.7.23,表盘自定义工具版本为5.23发布的4.6.1版本,软件可以正常浏览表盘区,但使用表盘替换功能时会发生闪退,尝试过后台挂驻小米运动健康或不挂驻,工具权限全给,文件夹读取权限全给一样闪退,另外软件的更新指向不对,网站指向了2.7版本的工具。
问题trace:
java.lang.NullPointerException: Attempt to invoke virtual method 'android.support.v4.provider.DocumentFile[] android.support.v4.provider.DocumentFile.listFiles()' on a null object reference
at com.givemefive.ble.BLEActivityMi8Pro.readAllWfFiles(BLEActivityMi8Pro.java:1019)
at com.givemefive.ble.BLEActivityMi8Pro$8.run(BLEActivityMi8Pro.java:1007)
at java.lang.Thread.run(Thread.java:1012)
问题trace:
java.lang.NullPointerException: Attempt to invoke virtual method 'android.support.v4.provider.DocumentFile[] android.support.v4.provider.DocumentFile.listFiles()' on a null object reference
at com.givemefive.ble.BLEActivityMi8Pro.readAllWfFiles(BLEActivityMi8Pro.java:1019)
at com.givemefive.ble.BLEActivityMi8Pro$8.run(BLEActivityMi8Pro.java:1007)
at java.lang.Thread.run(Thread.java:1012)