New issue
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
flutter doctor -v
crashes from Dart.jar archive error
#96018
Comments
Related issue: #94060 |
@christopherfujino |
Were guys able to solve this issue? If yes, can you specifically explain how you go about doing it? I am new to Flutter and I am encountering the same problem. Your answer will be a big help. Thanks a lot. |
#96240 is tracking issue from #96018 (comment) |
@TahaTesser I was out of office, thanks for driving this! |
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 |
I'm the author of the archive library, which flutter doctor is using. I was informed about
flutter doctor -v
failing because it fails decoding Dart.jar with the archive library, brendan-duncan/archive#177.The problem was because Dart.jar had an archive comment that was not a valid string, and the library wasn't robust about catching that. I updated the archive library to 3.1.8 to catch that error. But I don't know how to update flutter's pub cache to make sure it's using the latest version of the library for flutter doctor to verify the fix with flutter.
The text was updated successfully, but these errors were encountered: