惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
I
InfoQ
人人都是产品经理
人人都是产品经理
博客园 - 三生石上(FineUI控件)
爱范儿
爱范儿
Hugging Face - Blog
Hugging Face - Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
SegmentFault 最新的问题
美团技术团队
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
Jina AI
Jina AI
aimingoo的专栏
aimingoo的专栏
H
Help Net Security
Last Week in AI
Last Week in AI
博客园_首页
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
L
LangChain Blog
云风的 BLOG
云风的 BLOG
Martin Fowler
Martin Fowler
宝玉的分享
宝玉的分享
G
Google Developers Blog
博客园 - 叶小钗
博客园 - Franky

博客园 - sikewang

Gradle的init.d的init.gradle , init.d的位置 , x.gradle或x.gradle.kts的位置 maven wrapper 介绍及使用详解 JEnv-for-Windows 安装与使用 jenv报错无法加载文件jenv.ps1 Warning! PATH is not properly set up, /Users/i/.rvm/gems/ruby-3.3.0/bin is not at first place.摘抄整理 mac上如何用fvm设置全局Flutter SDK? Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'compileDebugKotlin' (17). fvm Flutter多版本管理安装与常用指令 JVM_XMS 和 java_opts哪种写法对?如何在JVM中设置JVM_XMS和java_opts? Elastic Search 安装部署最全教程(Docker) VMware中Ubuntu配置固定IP 下载Android SDK tools完成Android SDK 安装、配置环境变量 Oracle JDK究竟从哪个版本开始收费? 报红 import 'package:http/http.dart' as http; import 'package:date_format/date_format.dart'; Flutter doctor CSRF攻击与防御 windows查看文件/夹被哪个进程占用以及解除方法 windows上安装nvm-noinstall.zip 修改chrome用户数据的路径
Plugin [id: 'org.gradle.kotlin.kotlin-dsl', versi...
sikewang · 2025-12-19 · via 博客园 - sikewang
Exception is:
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'org.gradle.kotlin.kotlin-dsl', version: '2.3.3'] was not found in any of the following sources:

Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
Included Builds (None of the included builds contain this plugin)
Plugin Repositories (could not resolve plugin artifact 'org.gradle.kotlin.kotlin-dsl:org.gradle.kotlin.kotlin-dsl.gradle.plugin:2.3.3')
Searched in the following repositories:
Gradle Central Plugin Repository

发现 .gradle下 gradle.properties中 不知什么时候配置了代理:

systemProp.http.proxyHost=127.0.0.1
systemProp.http.proxyPort=1080
systemProp.https.proxyHost=127.0.0.1
systemProp.https.proxyPort=1080

删除 重新运行即可。

 1 FAILURE: Build failed with an exception.
 2 
 3 * Where:
 4 Settings file 'E:\workspace_self\libstudy\libstudy-dart\libstudy-flutter\libstudy_flutter_qzlm\libstudy_flutter_qzlm_demo_relearn\android\settings.gradle.kts' line: 20
 5 
 6 * What went wrong:
 7 Error resolving plugin [id: 'dev.flutter.flutter-plugin-loader', version: '1.0.0']
 8 > A problem occurred configuring project ':gradle'.
 9    > Could not resolve all artifacts for configuration 'classpath'.
10       > Could not download kotlin-gradle-plugin-2.0.21-gradle85.jar (org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.21)
11          > Could not get resource 'https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-gradle-plugin/2.0.21/kotlin-gradle-plugin-2.0.21-gradle85.jar'.
12             > Could not GET 'https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-gradle-plugin/2.0.21/kotlin-gradle-plugin-2.0.21-gradle85.jar'.
13                > Got socket exception during request. It might be caused by SSL misconfiguration
14                   > Connect to 127.0.0.1:1080 [/127.0.0.1] failed: Connection refused: getsockopt
15       > Could not download kotlin-gradle-plugin-idea-proto-2.0.21.jar (org.jetbrains.kotlin:kotlin-gradle-plugin-idea-proto:2.0.21)
16          > Could not get resource 'https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-gradle-plugin-idea-proto/2.0.21/kotlin-gradle-plugin-idea-proto-2.0.21.jar'.
17             > Could not GET 'https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-gradle-plugin-idea-proto/2.0.21/kotlin-gradle-plugin-idea-proto-2.0.21.jar'.
18                > Got socket exception during request. It might be caused by SSL misconfiguration
19                   > Connect to 127.0.0.1:1080 [/127.0.0.1] failed: Connection refused: getsockopt
20       > Could not download kotlin-compiler-embeddable-2.0.21.jar (org.jetbrains.kotlin:kotlin-compiler-embeddable:2.0.21)
21          > Could not get resource 'https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-compiler-embeddable/2.0.21/kotlin-compiler-embeddable-2.0.21.jar'.
22             > Could not GET 'https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-compiler-embeddable/2.0.21/kotlin-compiler-embeddable-2.0.21.jar'.
23                > Got socket exception during request. It might be caused by SSL misconfiguration
24                   > Connect to 127.0.0.1:1080 [/127.0.0.1] failed: Connection refused: getsockopt
25 
26 * Try:
27 > Run with --stacktrace option to get the stack trace.
28 > Run with --info or --debug option to get more log output.
29 > Run with --scan to get full insights.
30 > Get more help at https://help.gradle.org.
31 
32 BUILD FAILED in 20s
33 [!] Gradle threw an error while downloading artifacts from the network.