cph-cachet / flutter-plugins

A collection of Flutter plugins developed by CACHET
527 stars 625 forks source link

[Health 10.2.0] t0.i.f android.os.RemoteException - Binding to service failed #954

Open tejasbadone opened 2 months ago

tejasbadone commented 2 months ago

Device / Emulator and OS

Describe the bug

t0.i.f android.os.RemoteException - Binding to service failed This crash occurs in the Health plugin (version 10.2.0) while trying to connect to Health Connect and read steps data.

Flutter doctor

[√] Flutter (Channel stable, 3.19.3, on Microsoft Windows [Version 10.0.19045.4291], locale en-IN) [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [√] Chrome - develop for the web [X] Visual Studio - develop Windows apps X Visual Studio not installed; this is necessary to develop Windows apps. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components [√] Android Studio (version 2023.2) [√] VS Code (version 1.88.1) [√] Connected device (4 available) [√] Network resources

! Doctor found issues in 1 category.

Additional information

Stack trace -

Fatal Exception: android.os.RemoteException - Binder died Fatal Exception: android.os.RemoteException: Binder died at androidx.health.connect.client.impl.HealthConnectClientImpl.a(:239) at androidx.health.connect.client.impl.HealthConnectClientImpl$getGrantedPermissions$1.invokeSuspend(:11) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(:11) at kotlinx.coroutines.O.run(:114) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:211) at android.os.Looper.loop(Looper.java:300) at android.app.ActivityThread.main(ActivityThread.java:8294) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)
Caused by android.os.RemoteException - Binder died Caused by android.os.RemoteException: Binder died at t0.i.o(:32) at t0.i.a() at t0.h.binderDied(:2) at android.os.IBinder$DeathRecipient.binderDied(IBinder.java:317) at android.os.BinderProxy.sendDeathNotice(BinderProxy.java:768)