skip to Main Content

enter image description here

I don’t know why there are errors in packages.
It seems to be a problem after git clone, but it cannot be stopped because it is uncertain.
If you create a new flutter project, the packages and folders such as ios and lib will not be created together…
If you know how to solve this problem, please answer please.

5

Answers


  1. Chosen as BEST ANSWER

    I entered all directories with pubspec.yaml file and ran flutter clean->flutter pub get to resolve it. Thank you.


  2. Try running the following command in terminal:

    flutter pub get
    
    Login or Signup to reply.
  3. try using the below commands:

     flutter clean 
     flutter pub get
    
    Login or Signup to reply.
  4. first do project clean and then pub get to get dependencies like below.
    run this commands in your terminal.

     flutter clean
     flutter pub get
    
    Login or Signup to reply.
  5. Try the below steps one by one:

    Open the terminal inside your flutter project folder and then perform,

    flutter clean    
    flutter pub get    
    cd ios
    pod repo update
    pod install    
    

    Re-run your project.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search