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

Fatal Exception: java.lang.NoClassDefFoundError Failed resolution of: Ljava/util/concurrent/CompletableFuture; #22

Closed
jinchengwu-ola opened this issue Mar 3, 2022 · 1 comment

Comments

@jinchengwu-ola
Copy link

Fatal Exception: java.lang.NoClassDefFoundError
Failed resolution of: Ljava/util/concurrent/CompletableFuture;

java.lang.ClassLoader.loadClass (ClassLoader.java:469)
com.alexmercerind.flutter_media_metadata.a.onMethodCall (FlutterMediaMetadataPlugin.java:2)
io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage (MethodChannel.java:2)
io.flutter.embedding.engine.dart.DartMessenger.invokeHandler (DartMessenger.java:2)
io.flutter.embedding.engine.dart.DartMessenger.a (DartMessenger.java:2)
io.flutter.embedding.engine.dart.DartMessenger.b (DartMessenger.java)
io.flutter.embedding.engine.dart.c.run (lambda)
android.os.Handler.handleCallback (Handler.java:739)

Not support CompletableFuture while android's minSdk is less than 24

It is similar to an flutter/plugin issue.

The solution can be refer to
flutter/plugins@0bd38d2

@alexmercerind
Copy link
Owner

alexmercerind commented Mar 3, 2022

Fixed in #21.

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

2 participants