Skip to content

[tool_crash] ProcessException: Failed to find "C:\Users\sky\AppData\Local\flutter\bin\cache\dart-sdk\bin\dartaotruntime.exe" in the search path. Command: C:\Users\sky\AppData\Local\flutter\bin\cache\dart-sdk\bin\dartaotruntime.exe, OS error code: 0 #187976

Closed

Description

@kanthedgautam-cyber

Command

flutter --no-color run --machine --track-widget-creation --device-id=RZ8M30RCLHE --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9100 lib\main.dart

Steps to Reproduce

  1. ...
  2. ...
  3. ...

Logs

ProcessException: Failed to find "C:\Users\sky\AppData\Local\flutter\bin\cache\dart-sdk\bin\dartaotruntime.exe" in the search path. Command: C:\Users\sky\AppData\Local\flutter\bin\cache\dart-sdk\bin\dartaotruntime.exe, OS error code: 0

#0      LocalProcessManager.start (package:process/src/interface/local_process_manager.dart:56:7)
#1      ErrorHandlingProcessManager.start.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:654:26)
#2      _run (package:flutter_tools/src/base/error_handling_io.dart:514:20)
#3      ErrorHandlingProcessManager.start (package:flutter_tools/src/base/error_handling_io.dart:652:12)
#4      DefaultResidentCompiler._compile (package:flutter_tools/src/compile.dart:986:37)
#5      DefaultResidentCompiler._recompile (package:flutter_tools/src/compile.dart:863:14)
#6      _RecompileRequest._run (package:flutter_tools/src/compile.dart:440:84)
#7      _CompilationRequest.run (package:flutter_tools/src/compile.dart:413:30)
#8      DefaultResidentCompiler._handleCompilationRequest (package:flutter_tools/src/compile.dart:914:23)
#9      _rootRunUnary (dart:async/zone_root.dart:48:47)
#10     _CustomZone.runUnary (dart:async/zone.dart:733:19)
#11     _CustomZone.runUnaryGuarded (dart:async/zone.dart:633:7)
#12     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381:11)
#13     _DelayedData.perform (dart:async/stream_impl.dart:573:14)
#14     _PendingEvents.handleNext (dart:async/stream_impl.dart:678:11)
#15     _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649:7)
#16     _rootRun (dart:async/zone_root.dart:27:47)
#17     _CustomZone.run (dart:async/zone.dart:726:19)
#18     _CustomZone.runGuarded (dart:async/zone.dart:625:7)
#19     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:666:23)
#20     _rootRun (dart:async/zone_root.dart:35:13)
#21     _CustomZone.run (dart:async/zone.dart:726:19)
#22     _CustomZone.runGuarded (dart:async/zone.dart:625:7)
#23     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:666:23)
#24     _microtaskLoop (dart:async/schedule_microtask.dart:40:35)
[!] Flutter (Channel stable, 3.44.2, on Microsoft Windows [Version 10.0.26200.8246], locale en-IN) [205ms]
    • Flutter version 3.44.2 on channel stable at C:\Users\sky\AppData\Local\flutter
    ! The flutter binary is not on your path. Consider adding C:\Users\sky\AppData\Local\flutter\bin to your path.
    ! The dart binary is not on your path. Consider adding C:\Users\sky\AppData\Local\flutter\bin to your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c9a6c48423 (3 days ago), 2026-06-10 15:52:41 -0700
    • Engine revision 77e2e94772
    • Dart version 3.12.2
    • DevTools version 2.57.0
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, enable-swift-package-manager, omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Windows Version (Windows 11 or higher, 25H2, 2009) [792ms]

[!] Android toolchain - develop for Android devices (Android SDK version 36.1.0) [476ms]
    • Android SDK at C:\Users\sky\AppData\Local\Android\sdk
    • Emulator version 36.5.10.0 (build_id 15081367) (CL:N/A)
    ✗ cmdline-tools component is missing.
      Try installing or updating Android Studio.
      Alternatively, download the tools from https://developer.android.com/studio#command-line-tools-only and make sure to set the ANDROID_HOME environment variable.
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/to/windows-android-setup for more details.

[✓] Chrome - develop for the web [6ms]
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✗] Visual Studio - develop Windows apps [5ms]
    ✗ Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[✓] Connected device (4 available) [544ms]
    • SM A305F (mobile) • RZ8M30RCLHE • android-arm64  • Android 11 (API 30)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version 10.0.26200.8246]
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 149.0.7827.53
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 149.0.4022.62

[✓] Network resources [1,774ms]
    • All expected network resources are available.

! Doctor found issues in 3 categories.

Flutter Application Metadata

Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: c9a6c48

Plugins

file_picker-8.3.7
path_provider_foundation-2.6.0
shared_preferences_foundation-2.5.6
flutter_plugin_android_lifecycle-2.0.35
jni-1.0.0
jni_flutter-1.0.1
path_provider_android-2.3.1
shared_preferences_android-2.4.26
path_provider_linux-2.2.1
shared_preferences_linux-2.4.1
path_provider_windows-2.3.0
shared_preferences_windows-2.4.1
shared_preferences_web-2.4.3

Activity

  1. added
    in triage
    on Jun 15, 2026
  2. suryaKommana2662 commented on Jun 15, 2026

    @suryaKommana2662
    Contributor

    @kanthedgautam-cyber Thanks for the report. The stack trace indicates that Flutter is unable to locate dartaotruntime.exe inside the SDK cache:
    C:\Users\sky\AppData\Local\flutter\bin\cache\dart-sdk\bin\dartaotruntime.exe
    Before we investigate this further as a Flutter issue, could you please confirm whether that file exists on disk? please try the following and let us know whether the issue persists:

    flutter doctor -v
    flutter precache
    flutter pub get

    If the file is missing, please also let us know whether this started occurring after a Flutter upgrade or SDK installation/update.

  3. added
    waiting for response
    and removed
    in triage
    on Jun 15, 2026
  4. github-actions commented on Jul 6, 2026

    @github-actions

    Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now.

    If you find this problem please file a new issue with the same description, what happens, logs and the output of 'flutter doctor -v'. All system setups can be slightly different so it's always better to open new issues and reference the related ones.

    Thanks for your contribution.

  5. github-actions commented on Jul 20, 2026

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

  6. locked as resolved and limited conversation to collaborators on Jul 20, 2026
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

    waiting for response

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions