We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled exception: **FileSystemException: Failed to decode data using encoding 'utf-8', path = '/Users/rajkumar/.dart-tool/dart-flutter-telemetry.log'** #0 _File._tryDecode (dart:io/file_impl.dart:615:7) #1 _File.readAsStringSync (dart:io/file_impl.dart:624:7) #2 _File.readAsLinesSync (dart:io/file_impl.dart:630:36) #3 ForwardingFile.readAsLinesSync (package:file/src/forwarding/forwarding_file.dart:107:16) #4 LogHandler.save (package:unified_analytics/src/log_handler.dart:272:27) #5 AnalyticsImpl.send (package:unified_analytics/src/analytics.dart:608:17) #6 _handleToolError (package:flutter_tools/runner.dart:190:23) #7 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:142:13) #8 _rootRunBinary (dart:async/zone.dart:1423:47) #9 _CustomZone.runBinary (dart:async/zone.dart:1315:19) #10 runZonedGuarded.<anonymous closure> (dart:async/zone.dart:1776:18) #11 _Zone._processUncaughtError (dart:async/zone.dart:1081:14) #12 _CustomZone.handleUncaughtError (dart:async/zone.dart:1285:5) #13 Future._propagateToListeners (dart:async/future_impl.dart:788:16) #14 Future._completeError (dart:async/future_impl.dart:651:5) #15 Future._asyncCompleteError.<anonymous closure> (dart:async/future_impl.dart:737:7) #16 _rootRun (dart:async/zone.dart:1399:13) #17 _CustomZone.run (dart:async/zone.dart:1301:19) #18 _CustomZone.runGuarded (dart:async/zone.dart:1209:7) #19 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249:23) #20 _microtaskLoop (dart:async/schedule_microtask.dart:40:21) #21 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5) #22 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13) #23 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185:5)
When I want to run cmd "flutter doctor" it should give flutter doctor log but not supporting any of the commands
I'm getting this below error
FileSystemException: Failed to decode data using encoding 'utf-8', path = '/Users/rajkumar/.dart-tool/dart-flutter-telemetry.log' #0 _File._tryDecode (dart:io/file_impl.dart:615:7) #1 _File.readAsStringSync (dart:io/file_impl.dart:624:7) #2 _File.readAsLinesSync (dart:io/file_impl.dart:630:36) #3 ForwardingFile.readAsLinesSync (package:file/src/forwarding/forwarding_file.dart:107:16) #4 LogHandler.save (package:unified_analytics/src/log_handler.dart:272:27) #5 AnalyticsImpl.send (package:unified_analytics/src/analytics.dart:608:17) #6 _handleToolError (package:flutter_tools/runner.dart:190:23) #7 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:142:13) #8 _rootRunBinary (dart:async/zone.dart:1423:47) #9 _CustomZone.runBinary (dart:async/zone.dart:1315:19) #10 runZonedGuarded.<anonymous closure> (dart:async/zone.dart:1776:18) #11 _Zone._processUncaughtError (dart:async/zone.dart:1081:14) #12 _CustomZone.handleUncaughtError (dart:async/zone.dart:1285:5) #13 Future._propagateToListeners (dart:async/future_impl.dart:788:16) #14 Future._completeError (dart:async/future_impl.dart:651:5) #15 Future._asyncCompleteError.<anonymous closure> (dart:async/future_impl.dart:737:7) #16 _rootRun (dart:async/zone.dart:1399:13) #17 _CustomZone.run (dart:async/zone.dart:1301:19) #18 _CustomZone.runGuarded (dart:async/zone.dart:1209:7) #19 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249:23) #20 _microtaskLoop (dart:async/schedule_microtask.dart:40:21) #21 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5) #22 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13) #23 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185:5)
[Paste your code here]
[Paste your logs here]
rajkumar@RAJKUMARs-MacBook-Pro ~ % flutter doctor
Unhandled exception: FileSystemException: Failed to decode data using encoding 'utf-8', path = '/Users/rajkumar/.dart-tool/dart-flutter-telemetry.log' #0 _File._tryDecode (dart:io/file_impl.dart:615:7) #1 _File.readAsStringSync (dart:io/file_impl.dart:624:7) #2 _File.readAsLinesSync (dart:io/file_impl.dart:630:36) #3 ForwardingFile.readAsLinesSync (package:file/src/forwarding/forwarding_file.dart:107:16) #4 LogHandler.save (package:unified_analytics/src/log_handler.dart:272:27) #5 AnalyticsImpl.send (package:unified_analytics/src/analytics.dart:608:17) #6 _handleToolError (package:flutter_tools/runner.dart:190:23) #7 run.. (package:flutter_tools/runner.dart:142:13) #8 _rootRunBinary (dart:async/zone.dart:1423:47) #9 _CustomZone.runBinary (dart:async/zone.dart:1315:19) #10 runZonedGuarded. (dart:async/zone.dart:1776:18) #11 _Zone._processUncaughtError (dart:async/zone.dart:1081:14) #12 _CustomZone.handleUncaughtError (dart:async/zone.dart:1285:5) #13 Future._propagateToListeners (dart:async/future_impl.dart:788:16) #14 Future._completeError (dart:async/future_impl.dart:651:5) #15 Future._asyncCompleteError. (dart:async/future_impl.dart:737:7) #16 _rootRun (dart:async/zone.dart:1399:13) #17 _CustomZone.run (dart:async/zone.dart:1301:19) #18 _CustomZone.runGuarded (dart:async/zone.dart:1209:7) #19 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1249:23) #20 _microtaskLoop (dart:async/schedule_microtask.dart:40:21) #21 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5) #22 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13) #23 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185:5)
The text was updated successfully, but these errors were encountered:
@Rajkumar07793 Are you getting this error everytime you try to run any flutter command ? What flutter version are you on ?
Sorry, something went wrong.
I'm using flutter version 3.19.6 but i solved this error by deleting .pub-cache .dart-tool
Closing as resolved.
No branches or pull requests
Steps to reproduce
Expected results
When I want to run cmd "flutter doctor" it should give flutter doctor log but not supporting any of the commands
Actual results
I'm getting this below error
Code sample
Code sample
[Paste your code here]
Screenshots or Video
Screenshots / Video demonstration
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
Unhandled exception:
FileSystemException: Failed to decode data using encoding 'utf-8', path = '/Users/rajkumar/.dart-tool/dart-flutter-telemetry.log'
#0 _File._tryDecode (dart:io/file_impl.dart:615:7)
#1 _File.readAsStringSync (dart:io/file_impl.dart:624:7)
#2 _File.readAsLinesSync (dart:io/file_impl.dart:630:36)
#3 ForwardingFile.readAsLinesSync (package:file/src/forwarding/forwarding_file.dart:107:16)
#4 LogHandler.save (package:unified_analytics/src/log_handler.dart:272:27)
#5 AnalyticsImpl.send (package:unified_analytics/src/analytics.dart:608:17)
#6 _handleToolError (package:flutter_tools/runner.dart:190:23)
#7 run.. (package:flutter_tools/runner.dart:142:13)
#8 _rootRunBinary (dart:async/zone.dart:1423:47)
#9 _CustomZone.runBinary (dart:async/zone.dart:1315:19)
#10 runZonedGuarded. (dart:async/zone.dart:1776:18)
#11 _Zone._processUncaughtError (dart:async/zone.dart:1081:14)
#12 _CustomZone.handleUncaughtError (dart:async/zone.dart:1285:5)
#13 Future._propagateToListeners (dart:async/future_impl.dart:788:16)
#14 Future._completeError (dart:async/future_impl.dart:651:5)
#15 Future._asyncCompleteError. (dart:async/future_impl.dart:737:7)
#16 _rootRun (dart:async/zone.dart:1399:13)
#17 _CustomZone.run (dart:async/zone.dart:1301:19)
#18 _CustomZone.runGuarded (dart:async/zone.dart:1209:7)
#19 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1249:23)
#20 _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
#21 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
#22 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#23 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185:5)
The text was updated successfully, but these errors were encountered: