简体   繁体   中英

how to clear flutter project cache?

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.

删除pubspec.lock文件,然后再次运行命令flutter pub get

You can empty the entire projects cache to reclaim extra disk space or remove problematic packages.

run flutter pub cache clean in terminal at project directory

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM