dbast83
dbast83

Reputation: 13

Can't get or upgrade dependencies for Flutter in Android Studio

I'm very new to developing so I'm sorry if this is a silly question. When trying to open a Flutter package from Git I am not able to 'get dependencies' or 'upgrade dependencies' I get the message: C:\Flutter\flutter\bin\flutter.bat --no-color pub get

This is the folder that I installed Flutter in on my computer. I have read other threads here and tried to following with no luck: - Uninstalled and reinstalled Flutter - Checked the Flutter SDK setup in 'Languages & Frameworks' - Tried Flutter Clean - Check for updates for Flutter

As I said I'm pretty new so may be making a simple mistake. If anyone has any ideas it would be greatly appreciated.

Upvotes: 1

Views: 2464

Answers (2)

Jaimil Patel
Jaimil Patel

Reputation: 1347

please check indentation in pubspec.yaml file while you are writing any package name

Upvotes: 0

wcyankees424
wcyankees424

Reputation: 2654

Have you tried running this from your terminal in your project

flutter packages get

Upvotes: 1

Related Questions