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
{{ message }}
Repository navigation
'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not true. #93233
Doctor summary (to see all details, run flutter doctor -v):
Unable to find any JVMs matching version "1.8".
No Java runtime present, try --request to install.
[✓] Flutter (Channel stable, 2.5.3, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-GB)
[✗] Android toolchain - develop for Android devices
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.62.0)
[✓] Connected device (2 available)
I am trying to run the application with macOS(darwin-x64) device. Whenever I run the app, I get the following error:
'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not true.
I tried upgrading the flutter version and it doesn't work out.
Following is the flutter doctor -v output
`[✓] Flutter (Channel master, 2.1.0-13.0.pre.175, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-GB)
• Flutter version 2.1.0-13.0.pre.175 at /Users/patel/fluttersdk/flutter
• Framework revision efbde44 (8 months ago), 2021-03-18 13:40:08 -0700
• Engine revision c4628b7
• Dart version 2.13.0 (build 2.13.0-149.0.dev)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/patel/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /usr/bin/java
✗ Could not determine java version
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.4, Build version 12D4e
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
@KittuPatel can you provide minimal code sample that I can test with? Also, please confirm if this is a similar issue to yours and can help you resolve your issue #76325 ?
Hi @KittuPatel
There is an open issue addressing the case you described => #84241.
Please follow up on that issue, I'm closing the current one as a duplicate.
If you disagree, please write in the comments and I will reopen it.
Thank you
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.
Activity
mamuseferha commentedon Nov 8, 2021
Hi @KittuPatel
Can you please provide information on what the issue is, as well as your
flutter doctor -vand a minimal complete reproducible code sample?Thank you
KittuPatel commentedon Nov 8, 2021
I am trying to run the application with macOS(darwin-x64) device. Whenever I run the app, I get the following error:
'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not true.I tried upgrading the flutter version and it doesn't work out.
Following is the flutter doctor -v output
`[✓] Flutter (Channel master, 2.1.0-13.0.pre.175, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-GB)
• Flutter version 2.1.0-13.0.pre.175 at /Users/patel/fluttersdk/flutter
• Framework revision efbde44 (8 months ago), 2021-03-18 13:40:08 -0700
• Engine revision c4628b7
• Dart version 2.13.0 (build 2.13.0-149.0.dev)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/patel/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /usr/bin/java
✗ Could not determine java version
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.4, Build version 12D4e
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
[✓] VS Code (version 1.62.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.28.0
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-x64 • Mac OS X 10.15.7 19H2 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 95.0.4638.69
! Doctor found issues in 2 categories.`
mamuseferha commentedon Nov 8, 2021
@KittuPatel can you provide minimal code sample that I can test with? Also, please confirm if this is a similar issue to yours and can help you resolve your issue #76325 ?
KittuPatel commentedon Nov 8, 2021
Yes it is the same issue as #76325, but I did not find the solution.
mamuseferha commentedon Nov 9, 2021
Hi @KittuPatel
There is an open issue addressing the case you described => #84241.
Please follow up on that issue, I'm closing the current one as a duplicate.
If you disagree, please write in the comments and I will reopen it.
Thank you
github-actions commentedon Nov 23, 2021
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 -vand a minimal reproduction of the issue.