我是靠谱客的博主 喜悦人生,这篇文章主要介绍flutter None of the consumable configurations have attributes.,现在分享给大家,希望可以做个参考。

Required by:

         project :path_provider

      > Unable to find a matching configuration of project :path_provider_macos:

          - None of the consumable configurations have attributes.

上面是一个依赖错误,意思是依赖的项目里面的属性都为空,通常来说,是新加的支持会产生这种错误,比如新加的web mac支持。

如果我们不需要这些支持的话(大部分都不会需要),解决方法是找到flutter sdk 下面的需要这个依赖的项目,找到pubspec文件,删掉依赖。

 

最后

以上就是喜悦人生最近收集整理的关于flutter None of the consumable configurations have attributes.的全部内容,更多相关flutter内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(114)

评论列表共有 0 条评论

立即
投稿
返回
顶部