问题:Flutter 无法找到依赖库:
例如:Could not determine the dependencies of task ':path_provider:compileDebugAidl'.
> Could not resolve all task dependencies for configuration ':path_provider:debugCompileClasspath'.
> Could not resolve project :path_provider_macos.
Required by:
project :path_provider
> Unable to find a matching configuration of project :path_provider_macos:
- None of the consumable configurations have attributes.
解决:
1.在项目中找到依赖库的位置
2.找到依赖库,保存的系统目录
3.删除该依赖库,执行pub get,重新运行恢复正常
网友评论