-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Closed
Description
Steps to reproduce
Very new to Flutter and Dart. So forgive me if this has been covered before, I have done a quick search of the issues and nothing relevant appeared.
Win 11, VSCode.
Follow the steps here https://codelabs.developers.google.com/codelabs/flutter-codelab-first#4
Actual results
Very early on into the tutorial, I get an undefined method error. See screenshot.
Logs
Logs
<!-- Paste your logs here -->
Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.24.0, on Microsoft Windows [Version 10.0.22631.3880],
locale en-GB)
• Flutter version 3.24.0 on channel stable at C:\Users\shatk\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 80c2e84975 (2 weeks ago), 2024-07-30 23:06:49 +0700
• Engine revision b8800d88be
• Dart version 3.5.0
• DevTools version 2.37.2
[√] Windows Version (Installed version of Windows is version 10 or higher)
[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at C:\Users\shatk\AppData\Local\Android\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/to/windows-android-setup for more details.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[X] Visual Studio - develop Windows apps
X Visual Studio not installed; this is necessary to develop Windows apps.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its
default components
[√] Android Studio (version 2024.1)
• Android Studio at C:\Program Files\Android\Android Studio
• 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 17.0.11+0--11852314)
[√] VS Code (version 1.92.1)
• VS Code at C:\Users\shatk\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.94.0
[√] Connected device (4 available)
• J8210 (mobile) • QV720U2G24 • android-arm64 • Android 9 (API 28)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version
10.0.22631.3880]
• Chrome (web) • chrome • web-javascript • Google Chrome 127.0.6533.100
• Edge (web) • edge • web-javascript • Microsoft Edge 127.0.2651.98
[√] Network resources
• All expected network resources are available.
! Doctor found issues in 2 categories.
Metadata
Metadata
Assignees
Labels
No labels
