Skip to content

[tool_crash] FileSystemException: Failed to decode data using encoding 'utf-8', null #188970

Description

@minnos1122minnos-sudo

Command

flutter --no-color run --machine --track-widget-creation --device-id=windows --start-paused --dart-define=flutter.inspector.structuredErrors=true lib\main.dart

Steps to Reproduce

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

Logs

FileSystemException: Failed to decode data using encoding 'utf-8', null

#0      _File._tryDecode (dart:io/file_impl.dart:704:7)
#1      _File.readAsString (dart:io/file_impl.dart:712:7)
<asynchronous suspension>
#2      _run (package:flutter_tools/src/base/error_handling_io.dart:1050:14)
<asynchronous suspension>
#3      _pluginFromPackage (package:flutter_tools/src/flutter_plugins.dart:72:24)
<asynchronous suspension>
#4      findPlugins (package:flutter_tools/src/flutter_plugins.dart:130:28)
<asynchronous suspension>
#5      refreshPluginsList (package:flutter_tools/src/flutter_plugins.dart:1226:32)
<asynchronous suspension>
#6      FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:401:5)
<asynchronous suspension>
#7      FlutterCommand.regeneratePlatformSpecificToolingIfApplicable (package:flutter_tools/src/runner/flutter_command.dart:2010:5)
<asynchronous suspension>
#8      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1966:7)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1630:27)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
<asynchronous suspension>
#11     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:496:9)
<asynchronous suspension>
[!] Flutter (Channel stable, 3.44.4, on Microsoft Windows [Version 10.0.19045.3448], locale ru-RU) [388ms]
    • Flutter version 3.44.4 on channel stable at C:\src\flutter\flutter
    ! The flutter binary is not on your path. Consider adding C:\src\flutter\flutter\bin to your path.
    ! The dart binary is not on your path. Consider adding C:\src\flutter\flutter\bin to your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ad70ec4617 (10 days ago), 2026-06-24 11:07:06 -0700
    • Engine revision a10d8ac38d
    • 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 10 Pro 64-bit, 22H2, 2009) [1 108ms]

[!] Android toolchain - develop for Android devices (Android SDK version 36.1.0) [3,8s]
    • Android SDK at C:\Users\MUSTANG\AppData\Local\Android\sdk
    • Emulator version 36.6.11.0 (build_id 15507667) (CL:N/A)
    • Platform android-36.1, build-tools 36.1.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 21.0.10+-14961533-b1163.108)
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

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

[✗] Visual Studio - develop Windows apps [9ms]
    ✗ 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 (3 available) [408ms]
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.3448]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 149.0.7827.201
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 141.0.3537.99

[!] Network resources [975ms]
    ✗ A cryptographic error occurred while checking "https://github.com/": Handshake error in client
      You may be experiencing a man-in-the-middle attack, your network may be compromised, or you may have malware installed on your computer.

! Doctor found issues in 4 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: 35c388a

Plugins

cloud_firestore-4.17.5
firebase_auth-4.20.0
firebase_core-2.32.0
cloud_firestore_web-3.12.5
firebase_auth_web-5.12.0
firebase_core_web-2.17.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions