You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue when trying to generate code via build_runner in my Flutter project. The error message I'm seeing is:
My Env:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.3.1 23D60 darwin-arm64, locale en-SA)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.87.0)
[✓] Connected device (3 available)
[✓] Network resources
Error:
lib/stores/home.g.dart:51:3: Error: Type 'InvalidType' not found.
This error occurs inconsistently and I'm not sure why it's happening. I'd appreciate any insights or suggestions on how to resolve this issue.
Thank you.
The text was updated successfully, but these errors were encountered:
Hi devs,
I'm encountering an issue when trying to generate code via build_runner in my Flutter project. The error message I'm seeing is:
My Env:
Error:
This error occurs inconsistently and I'm not sure why it's happening. I'd appreciate any insights or suggestions on how to resolve this issue.
Thank you.
The text was updated successfully, but these errors were encountered: