Reputation: 35
I installed flutter and dart now I saw an error in android studio('Pub get' has not been run). How can I solve this problem?
Working dir: C:\Users\jhon\Desktop\FluxStore 1.3.5-woo\source
"C:\Program Files\Dart\dart-sdk\bin\pub.bat" get
Resolving dependencies...
Git error. Command: git fetch
fatal: not a git repository (or any of the parent directories): .git
Process finished with exit code 69
Upvotes: 1
Views: 10672
Reputation: 90
You need to get the dependencies or update them, for android studio 4.4, along the error onthe right side there are two buttons one for get the dependencies and another for update the dependencies, just click on the one for get the dependencies and it will work.
Upvotes: 0
Reputation: 2143
Prerequisites
It would be best if you can describe how you install your Flutter or Dark SDK in your post. Otherwise, please ensure the you followed the instructions here:
Suggestion
When you are trying to create a project, try to run the following:
For Flutter
flutter packages get
For Dart
pub get packages
Upvotes: 3