-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
[tools] Wrong full snapshot version
when upgrading channel
#89005
Comments
Hi @yulkin2002 flutter doctor -v[✓] Flutter (Channel dev, 2.6.0-0.0.pre, on Microsoft Windows [Version 10.0.22000.160], locale en-US)
• Flutter version 2.6.0-0.0.pre at C:\Users\Taha\Code\flutter_stable
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 83b9e99cfb (4 days ago), 2021-08-23 19:03:21 0200
• Engine revision d5adde01dd
• Dart version 2.15.0 (build 2.15.0-42.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at C:\Users\Taha\Code\android-sdk
• Platform android-31, build-tools 31.0.0
• ANDROID_SDK_ROOT = C:\Users\Taha\Code\android-sdk
• Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.10 0-b96-7249189)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.1)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.11.31613.86
• Windows 10 SDK version 10.0.19041.0
[✓] Android Studio (version 2020.3)
• Android Studio at C:\Users\Taha\Code\android-studio
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10 0-b96-7249189)
[✓] VS Code (version 1.59.1)
• VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.25.0
[✓] Connected device (6 available)
• IN2011 (mobile) • c9d8ee0c • android-arm64 • Android 11 (API 30)
• sdk gphone x86 (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22000.160]
• Windows (UWP) (desktop) • winuwp • windows-uwp-x64 •
• Chrome (web) • chrome • web-javascript • Google Chrome 92.0.4515.159
• Edge (web) • edge • web-javascript • Microsoft Edge 92.0.902.78
• No issues found!
PS C:\Users\Taha\StudioProjects\triage> This is related to #66765 where flutter/bin/cache has invalid snapshot, probably during upgrade cache is not probably updated |
Wrong full snapshot version
when upgrading channel
@TahaTesser, what do you mean by modifying flutter before? |
Any ideas on what might be causing this , I am experiencing a very similar problem at the moment. |
This seems to be the same as #16103, apparently happening when switching between flutter versions (not only stable -> dev). Solutions seems to be:
(I advise to research about the result of each command before executing it) |
@TahaTesser maybe there is a way to solve this issue for all past versions? maybe the only way it write a line about it in the docs? |
Steps to Reproduce
Expected results: Flutter app should launch on my phone (works fine on channel stable)
Actual results:
Logs
The text was updated successfully, but these errors were encountered: