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 设备页面:
控制中心的小米设备中心: