Update flutter dependencies in /.pub-cache

后端 未结 4 1572
感情败类
感情败类 2020-12-15 03:43

I erased in my folder .pub-cache/hosted/pub.dartlang.org/this_plugin

What is the command to update the dependencies inside pubsec.yaml

4条回答
  •  佛祖请我去吃肉
    2020-12-15 04:29

    Remove the package from dependencies in pubspec.yaml, run flutter packages get. And then add the package to dependencies again and running flutter packages get.This process has solved the problem for me in the past.

提交回复
热议问题