Skip to content

Unknown method "_flutter.listViews" errors on boot (web) #81834

@mat100payette

Description

@mat100payette

Steps to Reproduce

  1. Create a new flutter project.
  2. Launch the code

Expected results:
A normal counter app with no errors

Actual results:
App launches, but console shows errors:

Error handling 'checkPlatformOverride' custom request: _flutter.listViews: (-32601) Unknown method "_flutter.listViews".
Error handling 'checkBrightnessOverride' custom request: _flutter.listViews: (-32601) Unknown method "_flutter.listViews".
Error handling 'serviceExtension' custom request: _flutter.listViews: (-32601) Unknown method "_flutter.listViews".
Error handling 'checkIsWidgetCreationTracked' custom request: _flutter.listViews: (-32601) Unknown method "_flutter.listViews".

Logs
No issues found! (ran in 8.4s)
[√] Flutter (Channel master, 2.3.0-1.0.pre.209, on Microsoft Windows [version 10.0.18363.1500], locale fr-CA)
    • Flutter version 2.3.0-1.0.pre.209 at C:\Flutter\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 336ae2de79 (21 hours ago), 2021-05-03 19:06:53 +0200
    • Engine revision 3e578c6e0d
    • Dart version 2.14.0 (build 2.14.0-48.0.dev)

[X] Android toolchain - develop for Android devices
    X Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


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

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] VS Code (version 1.55.2)
    • VS Code at C:\Users\matpa\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.21.0

[√] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.93
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 87.0.664.66

! Doctor found issues in 2 categories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: fixedIssue is closed as already fixed in a newer versiontoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions