Comments (2)
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.
Related Issues (20)
- iOS app crashes in Simulator running on mac virtualized environment HOT 9
- Video Player progress downloading (download only part of the video provided in the network which is enough to play a few seconds from it). while playing these seconds I want to initialize the rest of the video
- Video Player progress downloading (download only part of the video provided in the network which is enough to play a few seconds from it). while playing these seconds I want to initialize the rest of the video HOT 1
- %5Btool_crash%5D FileSystemException%3A Cannot open file%2C OS Error%3A The system cannot find the path specified.%0D%0A%2C errno %3D 3 HOT 1
- Error: Unable to find git in your PATH. .... I'm not using GIT, remove this HOT 1
- [tool_crash] FileSystemException: Cannot open file, OS Error: The system cannot find the file specified., errno = 2 HOT 2
- aot_elf_release takes a unreasonably long time to complete HOT 2
- [Impeller] iOS crashes on some devices using impeller HOT 2
- loading issues HOT 1
- [tool_crash] ProcessException: Failed to find "git" in the search path. Command: git, OS error code: 0 HOT 1
- [google_map_flutter] double-tap and hold on, then drag up/down to zoom out/in will target onCameraIdle too much on iOS HOT 1
- [tool_crash] ShaderCompilerException HOT 1
- number keyboard doesn't work in TextField after update flutter to 3.22 HOT 2
- [Linux] FocusableActionDetector not working HOT 4
- [Web] Canvaskit raise errors on latest Chrome stable version HOT 23
- Adapt flutter tools to handle workspaces:
- Crash on linux HOT 6
- RangeError: RangeError: Value not in range: 226 HOT 4
- mac-10 & mac-26 lost external connection phone device. HOT 1
- mac-24 lost external connection phone device. HOT 2
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.