0

I'm new to Flutter and when making a new application I keep getting 'Pub get' has not been run Whenever I click get dependencies I get this error:

enter image description here

Been looking around for solutions for 3 hours but nothing worked so far.

This is my pubspec.yaml:

name: testproject
description: A new Flutter project.

publish_to: 

version: 1.0.0+1

environment:
  sdk: '>=2.18.2 <3.0.0'

dependencies:
  flutter:
    sdk: flutter
    
  cupertino_icons: ^1.0.2

dev_dependencies:
  flutter_test:
    sdk: flutter

  flutter_lints: ^2.0.0
  
flutter:
  uses-material-design: true

These are my environmant variables:

enter image description here

enter image description here

0

1 Answer 1

2

What error? Exit code 0 is good. A successful command exits with code 0.

Sign up to request clarification or add additional context in comments.

6 Comments

Then why is the 'pub get' message not going away. It's been there the whole time and was bothering me sorry if this is a stupid question
Have you tried restarting your IDE?
Yes it's the first thing that pops up.
Either way. Exit code 0 is not an error.
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.