You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[!] Flutter (Channel unknown, 3.10.6, on Microsoft Windows [Version 10.0.19045.2965], locale en-UG)
! Flutter version 3.10.6 on channel unknown at C:\flutter
Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install. ! Unknown upstream repository. Reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install. • Framework revision f468f3366c (5 months ago), 2023-07-12 15:19:05 -0700 • Engine revision cdbeda788a • Dart version 3.0.6 • DevTools version 2.23.1 • 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 (Installed version of Windows is version 10 or higher)[X] Android toolchain - develop for Android devices X Unable to locate Android SDK. Install Android Studio from: https://developer.android.com/studio/index.html On first launch it will assist you in installing the Android SDK components. (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions). If the Android SDK has been installed to a custom location, please use `flutter config --android-sdk` to update to that location.[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.8.2) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.8.34322.80 • Windows 10 SDK version 10.0.22621.0[!] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).[√] VS Code (version 1.84.2) • VS Code at C:\Users\Cybroid Techologies\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.78.0[√] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.2965] • Chrome (web) • chrome • web-javascript • Google Chrome 120.0.6099.62 • Edge (web) • edge • web-javascript • Microsoft Edge 92.0.902.67[√] Network resources • All expected network resources are available.! Doctor found issues in 3 categories.
I switched to an old version of flutter 3.10.6 this was necessary because the app am developing was failing to run on the client's PC when I was on flutter 3.16.0 and by that time this package was working well.
After the downgrade I started facing this issue
Unhandled exception:
Null check operator used on a null value
#0 FlutterVersion.isGreaterOrEqual (package:flutter_app_builder/src/commands/flutter.dart:47:55)#1 BuildWindowsResult.outputDirectory (package:flutter_app_builder/src/builders/windows/build_windows_result.dart:58:25)#2 BuildResult.toJson (package:flutter_app_builder/src/build_result.dart:20:26)#3 FlutterDistributor.package (package:flutter_distributor/src/flutter_distributor.dart:160:68)<asynchronous suspension>#4 CommandRunner.runCommand (package:args/command_runner.dart:212:13)<asynchronous suspension>
As a workaround I managed to fix it temporalily by hardcoding the flutterVersion
// package:flutter_app_builder/src/commands/flutter.dart:47:55
...
boolisGreaterOrEqual(String versionString) {
// just keep the first part of the version string// final String currentVersionString = flutterVersion!.split('-').first;finalString currentVersionString ="3.10.6"; // Temporalily Hard Code the VersionfinalVersion currentVersion =Version.parse(currentVersionString);
return currentVersion.compareTo(Version.parse(versionString)) >=0;
}
...
Note: - Am using the latest flutter_distributor version 0.3.6.
The text was updated successfully, but these errors were encountered:
Here is my
flutter doctor -v
outputI switched to an old version of flutter
3.10.6
this was necessary because the app am developing was failing to run on the client's PC when I was on flutter3.16.0
and by that time this package was working well.After the downgrade I started facing this issue
As a workaround I managed to fix it temporalily by hardcoding the
flutterVersion
The text was updated successfully, but these errors were encountered: