[√] Flutter (Channel stable, 3.22.0, on Microsoft Windows [Versi¢n 10.0.22621.819], locale en-US)
• Flutter version 3.22.0 on channel stable at C:\flutter\3.22.0
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 5dcb86f68f (3 months ago), 2024-05-09 07:39:20 -0500
• Engine revision f6344b75dc
• Dart version 3.4.0
• DevTools version 2.34.3
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at C:\Users\groma\AppData\Local\Android\sdk
• Platform android-35, build-tools 35.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[!] Visual Studio - develop Windows apps (Visual Studio Enterprise 2019 16.11.35)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise
• Visual Studio Enterprise 2019 version 16.11.34729.46
• Windows 10 SDK version 10.0.19041.0
X The current Visual Studio installation is incomplete.
Please use Visual Studio Installer to complete the installation or reinstall Visual Studio.
[√] Android Studio (version 2024.1)
• Android Studio at C:\Program Files\Android\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 17.0.11+0--11852314)
[√] VS Code (version 1.91.1)
• VS Code at C:\Users\groma\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.92.0
[√] Connected device (4 available)
• 23129RA5FL (mobile) • 1e4982a9 • android-arm64 • Android 13 (API 33)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Versi¢n 10.0.22621.819]
• Chrome (web) • chrome • web-javascript • Google Chrome 126.0.6478.185
• Edge (web) • edge • web-javascript • Microsoft Edge 126.0.2592.113
[√] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
Steps to reproduce
I want to migrate my project from version 3.13.9 to a higher version. I have tried several and all terno on the same problem. In this case the test is to raise it to 3.22.0.
1- I update the SDK and everything works fine.
2- I update the dependencies and the problem is due to version reflectable from version 4.06 to 4.07 or higher. This step is mandatory because reflectable 4.06 is not supported by this version of dart.
3- I try to run the project with 4.06 :
Expected results
Run the project
Actual results
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]Flutter Doctor output
Doctor output