Android studio reporting older dart-sdk version
887
Go to your Android Studio settings and search for Dart SDK path and change it to the location your updated Flutter is.
Also, make sure you don't have multiple Flutter versions installed on your system.
Author by
Kashif Mohammad
Updated on January 02, 2023Comments
-
Kashif Mohammad over 1 year
I have updated flutter and dart to latest version. dart --version shows following output: Dart SDK version: 2.14.4 (stable) (Wed Oct 13 11:11:32 2021 +0200) on "windows_x64"
Yet while running pub.get in android studio reports error with older version of dart-sdk
-
Anmol Mishra over 2 yearsCan you share channel name ?
-
Anmol Mishra over 2 years
Open terminal commands to Upgrade Flutter – Dart SDK 1-> C:\flutter 2->run command " flutter channel master " 3->run command after switching " flutter upgrade "
-
jamesdlin over 2 yearsYou clearly have multiple installations of the Flutter SDK. Figure out where they are.
-