I have installed and configured flutter, which runs fine from the command line in the C:\Windows\System32 directory. When I attempt tpo execute flutter from the command line I receive a MutexLock: Timeout exception after a couple of minutes.
Git has been uninstalled and reinstalled, and researching other entries here I have made a number of adjustments to my environment variables.
Can anyone help me solve this issue please?
Thanks.
C:\Windows\System32>flutter --version
Flutter 2.2.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f4abaa0735 (4 weeks ago) • 2021-07-01 12:46:11 -0700
Engine • revision 241c87ad80
Tools • Dart 2.13.4
E:\Development\Android\Projects>flutter --version
MutexLock: Timeout ... from jlibAThreadData.c,361
Error: Unable to find git in your PATH.
Download flutter zip, and put it anywhere you want, Then set it's Environment Veriable from My Computer-> Properties -> Advanced -> Environment Veriable
Try this out and let me know
Found the reason why this was happening. I also have the MultiValue database named jBASE installed, which was causing my grief.
Related
I'm debugging a code but every time I try to see the variable values it shows this message. does anyone know how to resolve?
Flutter 3.3.10 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 135454af32 (5 weeks ago) • 2022-12-15 07:36:55 -0800
Engine • revision 3316dd8728
Tools • Dart 2.18.6 • DevTools 2.15.0
google chrome version 109.0.5414.75 64 bit
I searched the internet and it was telling me to update flutter to a version greater than 3.0 and google chrome to the newest version and even so it continues to give this error. I tried to run the project in another browser but the same error message appears. in short, none of the solutions I've found to date allowed. I even formatted the computer and today I have Windows 11
The output below is what I get. I have tried the nano method to add my path and other methods but I honestly have no idea what to do now. No matter what I do this error keeps rising. And I believe it may be due to case sensitivity but I do not know how to fix it still. I am hoping somebody reading this has wisdom on the issue at hand.
`flutter doctor -v
[!] Flutter (Channel stable, 3.7.3, on macOS 12.4 21F79 darwin-arm64, locale en-US)
• Flutter version 3.7.3 on channel stable at /Users/devk/desktop/flutterProjects/flutterInstallation/flutter
! Warning: `flutter` on your path resolves to /Users/devk/Desktop/flutterProjects/flutterInstallation/flutter/bin/flutter,
which is not inside your current Flutter SDK checkout at /Users/devk/desktop/flutterProjects/flutterInstallation/flutter.
Consider adding /Users/devk/desktop/flutterProjects/flutterInstallation/flutter/bin to the front of your path.
! Warning: `dart` on your path resolves to /Users/devk/Desktop/flutterProjects/flutterInstallation/flutter/bin/dart, which is
not inside your current Flutter SDK checkout at /Users/devk/desktop/flutterProjects/flutterInstallation/flutter. Consider
adding /Users/devk/desktop/flutterProjects/flutterInstallation/flutter/bin to the front of your path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 9944297138 (2 days ago), 2023-02-08 15:46:04 -0800
• Engine revision 248290d6d5
• Dart version 2.19.2
• DevTools version 2.20.1
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform
update checks and upgrades.
You most likely didn't set your ENV path correctly.
For standard flutter installation, let's say your path to the flutter bin directory, you have to add the path to your .zshrc
Open terminal
cd ~
vim .zshrc
export PATH="$PATH:$HOME/path/to/flutter/bin"
Exit vim. (clicking on escape then :wq)
Then run source .zshrc to refresh
While trying to build my Flutter App in Xcode im getting following error
'ffmpegkit/FFmpegKitConfig.h' file not found
The App is running successfully in VS-Code .
I tried already hours to solve it. But I did not find any solution.
Flutter 2.10.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 7e9793dee1 (3 months ago) • 2022-03-02 11:23:12 -0600
Engine • revision bd539267b4
Tools • Dart 2.16.1 • DevTools 2.9.2
If more information needed please let me know.
I finally found the issue . The Problem was that for the package that I installed
https://pub.dev/packages/video_editor/example
I changed the iOS version in podfile to 13.0. And I forgot to change the version in my xcodeworkspace.
After using the Flutter Clean command, packages cannot be found and too many errors appear.
After running the "flutter pub get" command, the problems are corrected.
It wasn't like this before, what could be the reason for this?
Flutter 2.0.2 • channel stable •
Framework • revision 8962f6dc68 (6 days ago) • 2021-03-11 13:22:20 -0800
Engine • revision 5d8bf811b3
Tools • Dart 2.12.1
Flutter clean removes all cached packages which your IDE depends on for code completion. So that is why after running flutter pub get everything goes back to normal as the command re-downloads all the package files the IDE depends on.
Just run flutter pub get after flutter clean Command.
By doing that dependencies on pubspec.yaml file will be updated as well as flutter and dark SDK dependencies.
Why is it like this, a little confused?
What settings to disable to make it fast again?
I'm using VSCode for flutter development. Now very slow when starting the app and during hot reload. Now almost impossible to perform hot reload. I must stop it, do changes then start rather than waiting on hot reload process.
Before update, it was fast but sometimes crash.
I only use Dart 2.21.1 and Flutter 2.21.1 extension. And running on Windows 10.
=======================================================================
The issue seems gone away.
Now I'm using VS Code 1.31.1
flutter --version
Flutter 1.1.8 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 985ccb6d14 (8 weeks ago) • 2019-01-08 13:45:55 -0800
Engine • revision 7112b72cc2
Tools • Dart 2.1.1 (build 2.1.1-dev.0.1 ec86471ccc)
And Dart/Flutter extension is 2.24.0
In your folder, run
flutter clean
this will delete all flutter dependencies and then re-create the project again by using
flutter create YourProjectName
this will create all the flutter dependencies again in your current project, you will not loose your files
The issue seems gone away.
Now I'm using VS Code 1.31.1
flutter --version
Flutter 1.1.8 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 985ccb6d14 (8 weeks ago) • 2019-01-08 13:45:55 -0800
Engine • revision 7112b72cc2
Tools • Dart 2.1.1 (build 2.1.1-dev.0.1 ec86471ccc)
And Dart/Flutter extension is 2.24.0