flutter:Could not download kotlin-gradle-plugin.jar

Posted 有蚊子

tags:

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

我们可以看到是flutter的外部依赖:kotlin-gradle-plugin-1.2.71 下载不了,下面我介绍使用手动下载的方式去解决:

首先,看到flutter项目目录,注意我标出的是运行项目时需要使用的依赖,我们右键选择properties

 可以看到该依赖所在磁盘位置,我们手动下载上面的文件,放进去即可 点击下载该依赖文件

 

 

以上是关于flutter:Could not download kotlin-gradle-plugin.jar的主要内容,如果未能解决你的问题,请参考以下文章

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

flutter Could not find the built application bundle

Flutter-flutter run报错Could not build the application for the simulator.

flutter:Could not download kotlin-gradle-plugin.jar

Flutter小记8修复几个pub cache引起的错误 Could not find ... “pubspec.yaml“ 或 Flutter SDK is not available

Flutter小记8修复几个pub cache引起的错误 Could not find ... “pubspec.yaml“ 或 Flutter SDK is not available