how to clear flutter project cache?

1,761

Delete the pubspec.lock file then run the command flutter pub get again.

Share:
1,761
Admin
Author by

Admin

Updated on December 24, 2022

Comments

  • Admin
    Admin over 1 year

    I am facing issues with my flutter project. Earlier it was working , then I upgraded to the latest version, iOS App build issues occurred,then I downgraded the flutter version many other dependencies issues occurred.

    I implemented a command flutter pub cache repair.

    Please guide me a similar command to clean all the previous dependencies cache.

    Please don't provide flutter clean, I already implemented it.