sky130 / MiWu

第三方手表版米家「米屋」
MIT License
207 stars 26 forks source link

[Feature Request] Crash on device 小爱音响 page. 在小爱音响设备界面崩溃。 #25

Closed Keritial closed 6 months ago

Keritial commented 6 months ago

目前在小爱音响设备界面会崩溃。

错误报告:

java.lang.ClassCastException
----------------
App Version: 2.0.6_8
OS Version: 14_34
Vendor: Xiaomi
Model: Mi 10
CPU ABI: [arm64-v8a, armeabi-v7a, armeabi]
----------------
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number
    at com.github.miwu.miot.widget.VolumeSeekBar.onValueChange(Unknown Source:5)
    at com.github.miwu.miot.manager.MiotDeviceManager$refreshValue$2.invokeSuspend(Unknown Source:76)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
    at kotlinx.coroutines.DispatchedTask.run(Unknown Source:114)
    at android.os.Handler.handleCallback(Handler.java:958)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loopOnce(Looper.java:224)
    at android.os.Looper.loop(Looper.java:318)
    at android.app.ActivityThread.main(ActivityThread.java:8770)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)
    Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@2590cd3, Dispatchers.IO]

设备:OPPO Watch SE (在手表上崩溃后就在手机上试了)

米家 app 设备页面: Screenshot_2024-05-20-03-08-32-690_com xiaomi smarthome Screenshot_2024-05-20-03-03-06-498_com xiaomi smarthome

控制中心的小米设备中心: Screenshot_2024-05-20-03-11-56-104_com milink service

sky130 commented 6 months ago

这是糟糕的