fysoul17 / google_maps_place_picker

Place picker on Google Maps for Flutter
MIT License
222 stars 356 forks source link

No such method error when picker loads #152

Closed heromiyo closed 2 years ago

heromiyo commented 2 years ago

Describe the bug Initialising the picker fails with this exception image

To Reproduce

  1. Click on place picker
  2. Place picker loads the first and is stuck with address error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. image

Flutter Doctor -v

[√] Flutter (Channel stable, 2.5.0, on Microsoft Windows [Version 10.0.18363.1854], locale en-US) • Flutter version 2.5.0 at D:\flutter\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 4cc385b4b8 (7 weeks ago), 2021-09-07 23:01:49 -0700 • Engine revision f0826da7ef • Dart version 2.14.0

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0) • Android SDK at D:\ANDROID_HOME\Sdk X cmdline-tools component is missing Run path/to/sdkmanager --install "cmdline-tools;latest" See https://developer.android.com/studio/command-line for more details. X Android license status unknown. Run flutter doctor --android-licenses to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[√] Chrome - develop for the web • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1) • Android Studio at C:\Program Files\Android\Android Studio1 • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] IntelliJ IDEA Ultimate Edition (version 2021.2) • IntelliJ at D:\IntelliJ IDEA 2021.2.2 • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart

[√] VS Code (version 1.61.2) • VS Code at C:\Users\root\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.26.0

[√] Connected device (3 available) • JKM LX1 (mobile) • DEFNW19404000655 • android-arm64 • Android 9 (API 28) • Chrome (web) • chrome • web-javascript • Google Chrome 95.0.4638.54 • Edge (web) • edge • web-javascript • Microsoft Edge 92.0.902.84

! Doctor found issues in 1 category.

Additional context Add any other context about the problem here.

heromiyo commented 2 years ago

I changed usePlaceDetailSearch: false it worked