Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.IncompatibleClassChangeError: Found interface com.google.android.gms.nearby.connection.ConnectionsClient, but class was expected (declaration of 'com.google.android.gms.nearby.connection.ConnectionsClient' #23

Open
Jules369-ZM opened this issue Sep 29, 2021 · 0 comments

Comments

@Jules369-ZM
Copy link

FATAL EXCEPTION: main
E/AndroidRuntime(10222): Process: com.example.near_by_api_ex, PID: 10222
E/AndroidRuntime(10222): java.lang.IncompatibleClassChangeError: Found interface com.google.android.gms.nearby.connection.ConnectionsClient, but class was expected (declaration of 'com.google.android.gms.nearby.connection.ConnectionsClient' appears in /data/app/com.example.near_by_api_ex-SQmqvcjOXV3emcH2l_ILUw==/base.apk)
E/AndroidRuntime(10222): at com.nankai.flutter_nearby_connections.NearbyService.stopDiscovery(NearbyService.kt:72)
E/AndroidRuntime(10222): at com.nankai.flutter_nearby_connections.FlutterNearbyConnectionsPlugin.onMethodCall(FlutterNearbyConnectionsPlugin.kt:111)
E/AndroidRuntime(10222): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/AndroidRuntime(10222): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:84)
E/AndroidRuntime(10222): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:865)
at android.os.MessageQueue.nativePollOnce(Native Method)
E/AndroidRuntime(10222): at android.os.MessageQueue.next(MessageQueue.java:336)
E/AndroidRuntime(10222): at android.os.Looper.loop(Looper.java:174)
E/AndroidRuntime(10222): at android.app.ActivityThread.main(ActivityThread.java:7356)
E/AndroidRuntime(10222): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(10222): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
E/AndroidRuntime(10222): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
I/Process (10222): Sending signal. PID: 10222 SIG: 9

please i need help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant