Comments (3)
I was unable to repro on my MacBook nor my Linux VM.
Here is the flutter doctor -v
output from my MacBook.
flutter doctor -v output
[!] Flutter (Channel master, 3.23.0-13.0.pre.162, on macOS 14.5 23F79 darwin-arm64, locale en)
• Flutter version 3.23.0-13.0.pre.162 on channel master at /Users/andrewkolos/Documents/GitHub/flutter
! The flutter binary is not on your path. Consider adding /Users/andrewkolos/Documents/GitHub/flutter/bin to your path.
! The dart binary is not on your path. Consider adding /Users/andrewkolos/Documents/GitHub/flutter/bin to your path.
! Upstream repository https://github.com/andrewkolos/flutter.git is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to https://github.com/andrewkolos/flutter.git to dismiss this error.
• Framework revision 6bdebcf58d (4 hours ago), 2024-06-07 13:20:25 -0700
• Engine revision 1cdbebee19
• Dart version 3.5.0 (build 3.5.0-236.0.dev)
• DevTools version 2.36.0
• 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 34.0.0)
• Android SDK at /Users/andrewkolos/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_SDK_ROOT = /Users/andrewkolos/Library/Android/sdk
• Java binary at: /Users/andrewkolos/Downloads/my-jdk/bin/java
• Java version OpenJDK Runtime Environment Zulu22.30+13-CA (build 22.0.1+8)
• All Android licenses accepted.
[!] Xcode - develop for iOS and macOS (Xcode 15.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15A507
! CocoaPods 1.12.0 out of date (1.13.0 is recommended).
CocoaPods is a package manager for iOS or macOS platform code.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To update CocoaPods, see https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.1)
• Android Studio at /Users/andrewkolos/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/231.9392.1.2311.11076708/Android Studio.app/Contents
• 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.7+0-17.0.7b1000.6-10550314)
[✓] VS Code (version 1.90.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.91.20240529
[✓] Connected device (4 available)
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 14 (API 34) (emulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 14.5 23F79 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.5 23F79 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 126.0.6478.36
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 2 categories.
Here is the output of flutter config --list
to confirm that I have --jdk-dir
set:
flutter config --list output
All Settings:
enable-web: (Not set)
enable-linux-desktop: true
enable-macos-desktop: true
enable-windows-desktop: (Not set)
enable-android: (Not set)
enable-ios: (Not set)
enable-fuchsia: (Not set)
enable-custom-devices: (Not set)
cli-animations: (Not set)
enable-native-assets: true
enable-flutter-preview: (Not set)
enable-swift-package-manager: (Not set)
jdk-dir: /Users/andrewkolos/Downloads/my-jdk
I'm curious, where did flutter doctor
display an incorrect java
version? Were you reading the version that's displayed under the Android Studio validator? flutter
, when building an Android app, will use whatever version you see under the Android toolchain
section.
I could definitely see this as being confusing to users—I certainly didn't think of this when you ran this issue by me earlier.
from flutter.
Ah you are correct i was looking at android studio not android toolchain.
❯ flutter doctor --verbose
[✓] Flutter (Channel main, 3.23.0-13.0.pre.154, on macOS 14.5 23F79 darwin-arm64, locale en)
• Flutter version 3.23.0-13.0.pre.154 on channel main at /Users/reidbaker/flutter-work
• Upstream repository [email protected]:flutter/flutter.git
• Framework revision d849b91ffc (3 days ago), 2024-06-07 10:37:28 -0400
• Engine revision 98e9393bf2
• Dart version 3.5.0 (build 3.5.0-234.0.dev)
• DevTools version 2.36.0
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/reidbaker/Library/Android/sdk/
• Platform android-34-ext8, build-tools 34.0.0
• ANDROID_HOME = /Users/reidbaker/Library/Android/sdk/
• ANDROID_SDK_ROOT = /Users/reidbaker/Library/Android/sdk/
• Java binary at: /Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment Zulu11.72+19-CA (build 11.0.23+9-LTS)
✗ 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.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15A507
! CocoaPods 1.11.3 out of date (1.13.0 is recommended).
CocoaPods is a package manager for iOS or macOS platform code.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To update CocoaPods, see https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (version unknown)
• Android Studio at /Applications/Android Studio with Blaze Beta.app/Contents
• 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
✗ Unable to determine Android Studio version.
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.17-11446219)
[✓] VS Code (version 1.89.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.90.0
[✓] Connected device (3 available)
• macOS (desktop) • macos • darwin-arm64 • macOS 14.5 23F79 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.5 23F79 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 125.0.6422.142
[✓] Network resources
• All expected network resources are available.
from flutter.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
from flutter.
Related Issues (20)
- [webview_flutter] Did not find frame on Android HOT 2
- MultiEngines will splash black if we switch app back to foreground from app history on certain Android cellphone HOT 2
- App crashes (Lost connection to device) sometimes (1-2 in 10 efforts) when trying to pick image from camera. Using real android device - Redmi note 7 pro, Android 10. HOT 2
- paragraph.dart _cachedRect is not refreshed after the window width changes, which results in limited selection HOT 2
- The Quality-Assurance contributing doc has wrong git commands
- [macOS] Assertion failure and crash when using the MOS app for smooth scrolling HOT 3
- VideoError, Video player had error androidx.media3.exoplayer.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/avc, avc1.64001F, -1, null, [1280, 720, 29.975233, ColorInfo(BT709, Limited range, SDR SMPTE 170M, false, 8bit Luma, 8bit Chroma)], [-1, -1]), format_supported=YES, null, null) HOT 1
- when i run flutter build apk --release i got this error HOT 4
- Reversed ListView range is not maintained when using RangeMaintainingScrollPhysics HOT 1
- [TextField] Incorrect Word Selection and Cursor Behavior in RTL TextField with Special Characters HOT 1
- [tool_crash] FileSystemException: Cannot create link, OS Error: Cannot create a file when that file already exists., errno = 183 HOT 1
- FileSystemException: Cannot delete file, OS Error: The process cannot access the file because it is being used by another process. , errno = 32 HOT 1
- DropdownButtonFormField in Wrap inside of SliverFillRemaining with hasScrollBody=false breaks rendering HOT 1
- Widget not rendering HOT 1
- The initial value of the Autocomplete class is not selected HOT 2
- Licence checker should check that all code files outside of third party have copyright header
- mac-34 lost external connection from phone device. HOT 1
- mac-2 lost external connection from phone device. HOT 1
- Asset validation failed (90035) Invalid Signature. Code object is not signed at all. HOT 1
- TextField blinks when hoverColor == filledColor on displays with refresh rates higher than 60Hz HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.