Unact / yandex_mapkit

Flutter implementation of YandexMapkit
MIT License
132 stars 151 forks source link

Unhandled Exception: PlatformException(error, java.lang.IllegalStateException: Trying to create a platform view of unregistered type: yandex_mapkit/yandex_map #281

Closed pkozlovskiy closed 1 year ago

pkozlovskiy commented 1 year ago

Никак не могу избавиться от такой ошибки и не пойму в чём дело.(android В эмуляторе и на реальном телефоне) Так же есть подобная проблема без ответа https://stackoverflow.com/questions/72277184/error-trying-to-create-a-platform-view-of-unregistered-type-yandex-mapkit-yand

[✓] Flutter (Channel stable, 3.3.2, on Ubuntu 22.04.1 LTS 5.15.0-48-generic, locale en_US.UTF-8) • Flutter version 3.3.2 on channel stable at /home/pako/user/flutter/common/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision e3c29ec00c (4 weeks ago), 2022-09-14 08:46:55 -0500 • Engine revision a4ff2c53d8 • Dart version 2.18.1 • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) • Android SDK at /home/user/Android/Sdk • Platform android-33, build-tools 31.0.0 • Java binary at: /snap/android-studio/124/android-studio/jre/bin/java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted.

AbrorEsonov commented 4 months ago

Same issue here

[✓] Flutter (Channel stable, 3.13.9, on macOS 14.0 23A344 darwin-arm64, locale en-UZ) • Flutter version 3.13.9 on channel stable at /Users/abroresonovmacpro/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision d211f42860 (3 months ago), 2023-10-25 13:42:25 -0700 • Engine revision 0545f8705d • Dart version 3.1.5 • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/abroresonovmacpro/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15C65 • CocoaPods version 1.14.3