flutter doctor -v 7.8s Tue Feb 10 22:07:24 2026
[!] Flutter (Channel [user-branch], 3.41.0-1.0.pre-523, on macOS 26.2 25C56 darwin-arm64, locale en-IN) [233ms]
! Flutter version 3.41.0-1.0.pre-523 on channel [user-branch] at /Users/rajveer/sdk/flutter
Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/setup.
! Upstream repository unknown source is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
• Framework revision 296db8121b (10 hours ago), 2026-02-10 01:41:25 -0500
• Engine revision c1b495daa6
• Dart version 3.12.0 (build 3.12.0-130.0.dev)
• DevTools version 2.54.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging, no-enable-uiscene-migration, enable-riscv64
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [989ms]
• Android SDK at /Users/rajveer/Library/Android/sdk
• Emulator version 36.3.10.0 (build_id 14472402) (CL:N/A)
• Platform android-36, build-tools 35.0.0
• ANDROID_HOME = /Users/rajveer/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.8+-14196175-b1038.72)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 26.2) [587ms]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 17C52
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [5ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Connected device (4 available) [5.7s]
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 16 (API 36) (emulator)
• Rajesh’s iPhone (wireless) (mobile) • 00008030-000149CA1A04802E • ios • iOS 26.2.1 23C71
• macOS (desktop) • macos • darwin-arm64 • macOS 26.2 25C56 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 144.0.7559.133
[✓] Network resources [496ms]
• All expected network resources are available.
! Doctor found issues in 1 category.
Steps to reproduce
flutter createfirebase_messagingdependency by running:flutter pub add firebase_core firebase_messagingflutter runExpected results
The build should be successful without any build errors.
Actual results
The
flutter runcommands fails with Gradle build error.Code sample
Relavent lines in pubspec.yaml
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
Flutter Doctor output
Doctor output