Skip to content

'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not true. #93233

Closed

Description

@KittuPatel

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)

! Doctor found issues in 2 categories.

Activity

  1. mamuseferha commented on Nov 8, 2021

    @mamuseferha

    Hi @KittuPatel
    Can you please provide information on what the issue is, as well as your flutter doctor -v and a minimal complete reproducible code sample?
    Thank you

  2. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Nov 8, 2021
  3. KittuPatel commented on Nov 8, 2021

    @KittuPatel
    Author

    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.`

  4. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Nov 8, 2021
  5. mamuseferha commented on Nov 8, 2021

    @mamuseferha

    @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 ?

  6. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Nov 8, 2021
  7. KittuPatel commented on Nov 8, 2021

    @KittuPatel
    Author

    Yes it is the same issue as #76325, but I did not find the solution.

  8. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Nov 8, 2021
  9. mamuseferha commented on Nov 9, 2021

    @mamuseferha

    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

  10. added
    r: duplicateIssue is closed as a duplicate of an existing issue
    and removed
    in triagePresently being triaged by the triage team
    on Nov 9, 2021
  11. github-actions commented on Nov 23, 2021

    @github-actions

    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.

  12. locked as resolved and limited conversation to collaborators on Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions