flutter Could not resolve project :path_provider_macos.

Posted hillwooda

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了flutter Could not resolve project :path_provider_macos.相关的知识,希望对你有一定的参考价值。

flutter 编译报错

What went wrong: Could not determine the dependencies of task :app:preDebugBuild.

Could not resolve all task dependencies for configuration :app:debugRuntimeClasspath. Could not resolve project :path_provider_macos. Required by: project :app > project :path_provider Unable to find a matching configuration of project :path_provider_macos: None of the consumable configurations have attributes.

 

解决方案

运行命令

flutter pub cache repair

 

以上是关于flutter Could not resolve project :path_provider_macos.的主要内容,如果未能解决你的问题,请参考以下文章

flutter踩坑01:下载包失败:Could not resolve all artifacts for configuration....

Could not determine the dependencies of task ‘:app:compileDebugJavaWithJavac‘ Could not resolve all

Could not determine the dependencies of task ‘:app:compileDebugJavaWithJavac‘ Could not resolve all

IDEA用github提交Could not resolve host: github.com的解决方案

mysql could not be resolved: Name or service not known

ssh: Could not resolve hostname问题终于解决了?