Skip to content

[Bug]: Map initialization error #473

@rajeshbdabhi

Description

@rajeshbdabhi

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

PlatformException: PlatformException(viewNotFound, GoogleMapsNavigationViewHandlerError, Stacktrace: ["0 Runner 0x00000001056e6da8 _ZN11GMSx_proto25Arena13CopyConstructIN22GMSx_maps_gmm_geometry18RoutePositionProtoEEEPvPS0_PKv + 175884", "1 Runner 0x00000001056fcc6c _ZN11GMSx_proto25Arena13CopyConstructIN22GMSx_maps_gmm_geometry18RoutePositionProtoEEEPvPS0_PKv + 265680", "2 Runner 0x00000001056f59a4 _ZN11GMSx_proto25Arena13CopyConstructIN22GMSx_maps_gmm_geometry18RoutePositionProtoEEEPvPS0_PKv + 236296", "3 Flutter 0x00000001081d6eb8 InternalFlutterGpu_Texture_AsImage + 34832", "4 Flutter 0x0000000107c5bb1c Flutter + 441116", "5 libdispatch.dylib 0x00000001a1f4dabc 25BD2FB8-CD70-3483-90E5-474788FDDD72 + 6844", "6 libdispatch.dylib 0x00000001a1f677cc 25BD2FB8-CD70-3483-90E5-474788FDDD72 + 112588", "7 libdispatch.dylib 0x00000001a1f84af0 25BD2FB8-CD70-3483-90E5-474788FDDD72 + 232176", "8 libdispatch.dylib 0x00000001a1f5cea8 25BD2FB8-CD70-3483-90E5-474788FDDD72 + 69288", "9 libdispatch.dylib 0x00000001a1f5cde4 _dispatch_main_queue_callback_4CF + 44", "10 CoreFoundation 0x000000019975d5a0 44CF748C-19F2-31C4-A0F1-143E32768AF1 + 439712", "11 CoreFoundation 0x000000019970fdf0 44CF748C-19F2-31C4-A0F1-143E32768AF1 + 122352", "12 CoreFoundation 0x000000019970ed28 44CF748C-19F2-31C4-A0F1-143E32768AF1 + 118056", "13 GraphicsServices 0x00000001ead15498 GSEventRunModal + 120", "14 UIKitCore 0x000000019c48c838 ABE178BE-C241-3474-A192-70F042F71BF4 + 723000", "15 UIKitCore 0x000000019c42afd0 UIApplicationMain + 336", "16 UIKitCore 0x000000019c57193c ABE178BE-C241-3474-A192-70F042F71BF4 + 1661244", "17 Runner 0x0000000104ab2260 Runner + 25184", "18 dyld 0x000000019696db18 4E9F3B1E-8F53-3E3B-849C-950CA957C64B + 19224"], null)

Flutter version

3.29.2

Package version

0.6.3

Native SDK versions

  • I haven't changed the version of the native SDKs

Flutter Doctor Output

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.29.2, on macOS 15.5 24F74 darwin-arm64, locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[!] Xcode - develop for iOS and macOS (Xcode 16.4)
! CocoaPods 1.15.0 out of date (1.16.2 is recommended).
CocoaPods is a package manager for iOS or macOS platform code.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/to/platform-plugins
To update CocoaPods, see https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.3)
[✓] VS Code (version 1.103.2)
[✓] Connected device (6 available)
[✓] Network resources

! Doctor found issues in 2 categories.

Steps to reproduce

this issue comes sometime when map screen load

Expected vs Actual Behavior

map should load without any platform error

Code Sample

// Example code here

Additional Context

No response

Metadata

Metadata

Assignees

Labels

priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions