-
Notifications
You must be signed in to change notification settings - Fork 504
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
_MapboxMapState.onPlatformViewCreated The method 'call' was called on null. #446
Labels
Comments
Same problem here
|
@tobrun What do you think if I create a pull request to set this as default if it is not passed manually? |
This error because you use the minSdkVersion in android under the 20. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using Flutter Mapbox version:
mapbox_gl: ^0.9.0
I came across this error:
[VERBOSE-2:shell.cc(210)] Dart Unhandled Exception: NoSuchMethodError: The method 'call' was called on null.
Receiver: null
Tried calling: call(), stack trace: #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1 _MapboxMapState.onPlatformViewCreated.. (package:mapbox_gl/src/mapbox_map.dart:226:70)
#2 _RootZone.runUnary (dart:async/zone.dart:1450:54)
#3 _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#4 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#5 Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#6 Future._completeWithValue (dart:async/future_impl.dart:529:5)
#7 Future._asyncCompleteWithValue. (dart:async/future_impl.dart:567:7)
#8 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#9 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
The text was updated successfully, but these errors were encountered: