You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to follow the installation steps and call isApiSupported(), I get the following error:
E/AndroidRuntime( 8275): FATAL EXCEPTION: main
E/AndroidRuntime( 8275): java.lang.NoSuchMethodError: No static method sdkStatus$default(Landroidx/health/connect/client/HealthConnectClient$Companion;Landroid/content/Context;Ljava/lang/String;ILjava/lang/Object;)I in class Landroidx/health/connect/client/HealthConnectClient$Companion; or its super classes (declaration of 'androidx.health.connect.client.HealthConnectClient$Companion' appears in /data/app/~~txFNxEdUuEIQMAPRRURcWQ==/0NjkO8==/base.apk)
E/AndroidRuntime( 8275): at dev.duynp.flutter_health_connect.FlutterHealthConnectPlugin.onMethodCall(FlutterHealthConnectPlugin.kt:82)
E/AndroidRuntime( 8275): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:258)
E/AndroidRuntime( 8275): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
E/AndroidRuntime( 8275): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:322)
E/AndroidRuntime( 8275): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/AndroidRuntime( 8275): at android.os.Handler.handleCallback(Handler.java:942)
E/AndroidRuntime( 8275): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 8275): at android.os.Looper.loopOnce(Looper.java:201)
E/AndroidRuntime( 8275): at android.os.Looper.loop(Looper.java:288)
E/AndroidRuntime( 8275): at android.app.ActivityThread.main(ActivityThread.java:7918)
E/AndroidRuntime( 8275): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 8275): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E/AndroidRuntime( 8275): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
I/Process ( 8275): Sending signal. PID: 8275 SIG: 9
Any ideas why this occurs please? I've double and triple checked I've followed the installation instructions correctly, but I guess I must be missing something.
Thanks a lot!
The text was updated successfully, but these errors were encountered:
Hi there,
Thanks for the package!
When I try to follow the installation steps and call isApiSupported(), I get the following error:
Any ideas why this occurs please? I've double and triple checked I've followed the installation instructions correctly, but I guess I must be missing something.
Thanks a lot!
The text was updated successfully, but these errors were encountered: