Skip to content

[google_maps_flutter] io.flutter.view has been deprecated #117765

@sisalik1

Description

@sisalik1

Steps to Reproduce

  • Add google_maps_flutter:^2.2.2 as dependency
  • Run flutter build appbundle
  • Be presented with warnings during first build

Expected results:
No warnings

Actual results:

...\google_maps_flutter_android-2.4.0\android\src\main\java\io\flutter\plugins\googlemaps\Convert.java:27: warning: [deprecation] FlutterMain in io.flut
ter.view has been deprecated
import io.flutter.view.FlutterMain;
                      ^
1 warning
Logs
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, 3.7.0-13.0.pre.106, on Microsoft Windows [Version 10.0.19044.2364], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1)
[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2021.3)
[√] Connected device (2 available)
[√] HTTP Host Availability

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listfound in release: 3.3Found to occur in 3.3found in release: 3.7Found to occur in 3.7has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: mapsGoogle Maps pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions