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

FlutterNativeTimezonePlugin.kt line 37 #28

Open
thize opened this issue Jun 3, 2021 · 3 comments
Open

FlutterNativeTimezonePlugin.kt line 37 #28

thize opened this issue Jun 3, 2021 · 3 comments

Comments

@thize
Copy link

thize commented Jun 3, 2021

FlutterNativeTimezonePlugin.kt line 37
com.whelksoft.flutter_native_timezone.FlutterNativeTimezonePlugin.onMethodCall

Fatal Exception: java.lang.NoClassDefFoundError
Failed resolution of: Ljava/time/ZoneId;

Fatal Exception: java.lang.NoClassDefFoundError: Failed resolution of: Ljava/time/ZoneId;
       at com.whelksoft.flutter_native_timezone.FlutterNativeTimezonePlugin.onMethodCall(FlutterNativeTimezonePlugin.kt:37)
       at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
       at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
       at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:818)
       at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
       at android.os.MessageQueue.next(MessageQueue.java:328)
       at android.os.Looper.loop(Looper.java:148)
       at android.app.ActivityThread.main(ActivityThread.java:6339)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1084)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:945)
@dannyalbuquerque
Copy link

Same problem with sdk < 26

@pinkfish
Copy link
Owner

pinkfish commented Jun 4, 2021

Ok, submitted the fix that was added and publishing the new package now. Update to version 2.0.0 and it will have the fixes.

@otopba
Copy link
Contributor

otopba commented Jun 13, 2021

Fixed at #25

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

4 participants