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

MissingPluginException #148600

Closed
AlthafMjeelani opened this issue May 18, 2024 · 1 comment
Closed

MissingPluginException #148600

AlthafMjeelani opened this issue May 18, 2024 · 1 comment
Labels
r: duplicate Issue is closed as a duplicate of an existing issue

Comments

@AlthafMjeelani
Copy link

AlthafMjeelani commented May 18, 2024

Steps to reproduce

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method markers#update on channel plugins.flutter.dev/google_maps_android_2)
E/flutter ( 3881): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7)
E/flutter ( 3881): <asynchronous suspension>

Expected results

why this error is getting?

Actual results

need to work with out exception

Code sample

GoogleMap(
                            myLocationEnabled: true,
                            mapToolbarEnabled: false,
                            initialCameraPosition:
                                provider.initialCameraPosition == null
                                    ? CameraPosition(
                                        target: provider.locations[0], zoom: 16)
                                    : provider.initialCameraPosition!,
                            markers: provider.markers.toSet(),
                            polylines: provider.polyLines,
                            onCameraMove: (position) {
                              provider
                                  .customInfoWindowController.onCameraMove!();
                            },
                            onMapCreated: (controller) {
                              provider.onMapCreated(controller);
                            },
                            onTap: (position) {
                              provider
                                  .customInfoWindowController.hideInfoWindow!();
                            },
                          ),
                          
                      Completer<GoogleMapController> mapController = Completer();
  void onMapCreated(GoogleMapController controller) {
    if (!mapController.isCompleted) {
      mapController.complete(controller);
    }
  }      

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

GoogleMap(
                            myLocationEnabled: true,
                            mapToolbarEnabled: false,
                            initialCameraPosition:
                                provider.initialCameraPosition == null
                                    ? CameraPosition(
                                        target: provider.locations[0], zoom: 16)
                                    : provider.initialCameraPosition!,
                            markers: provider.markers.toSet(),
                            polylines: provider.polyLines,
                            onCameraMove: (position) {
                              provider
                                  .customInfoWindowController.onCameraMove!();
                            },
                            onMapCreated: (controller) {
                              provider.onMapCreated(controller);
                            },
                            onTap: (position) {
                              provider
                                  .customInfoWindowController.hideInfoWindow!();
                            },
                          ),
                          
                      Completer<GoogleMapController> mapController = Completer();
  void onMapCreated(GoogleMapController controller) {
    if (!mapController.isCompleted) {
      mapController.complete(controller);
    }
  }      

Flutter Doctor output

[✓] Flutter (Channel stable, 3.22.0, on Ubuntu 22.04.4 LTS 6.5.0-35-generic, locale en_IN)
    • Flutter version 3.22.0 on channel stable at /home/texol/sdk/flutter_2.13.6
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5dcb86f68f (9 days ago), 2024-05-09 07:39:20 -0500
    • Engine revision f6344b75dc
    • Dart version 3.4.0
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /home/texol/Android/Sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /snap/android-studio/155/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 14.0.0-1ubuntu1.1
    • cmake version 3.22.1
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[✓] Android Studio (version 2023.2)
    • Android Studio at /snap/android-studio/153
    • Flutter plugin version 78.2.2
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] Android Studio (version 2023.3)
    • Android Studio at /snap/android-studio/155
    • Flutter plugin version 79.0.2
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] VS Code (version 1.89.1)
    • VS Code at /snap/code/current/usr/share/code
    • Flutter extension version 3.86.0

[✓] Connected device (3 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 14 (API 34) (emulator)
    • Linux (desktop)              • linux         • linux-x64      • Ubuntu 22.04.4 LTS 6.5.0-35-generic
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 123.0.6312.58

[✓] Network resources
    • All expected network resources are available.

• No issues found!
@darshankawar darshankawar added the in triage Presently being triaged by the triage team label May 20, 2024
@darshankawar
Copy link
Member

This seems to be similar to #43785 so please follow-up in it for further updates.
Closing as duplicate. You may share your findings in it for better tracking.

@darshankawar darshankawar closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
@darshankawar darshankawar added r: duplicate Issue is closed as a duplicate of an existing issue and removed in triage Presently being triaged by the triage team labels May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
r: duplicate Issue is closed as a duplicate of an existing issue
Projects
None yet
Development

No branches or pull requests

2 participants