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.

上一篇:ubuntu安装Cuda、Cudnn


下一篇:使用Dockerfile构建镜像