每次 kotlin 更新完我好像都会遭遇一次 gradle build 失败的历程…请各位帮看一下… - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
请不要在回答技术问题时复制粘贴 AI 生成的内容
heavyrainn
V2EX    程序员

每次 kotlin 更新完我好像都会遭遇一次 gradle build 失败的历程…请各位帮看一下…

  •  
  •   heavyrainn 2021-05-26 13:40:58 +08:00 1972 次点击
    这是一个创建于 1607 天前的主题,其中的信息可能已经有所发展或是发生改变。

    前几天 kotlin 更新了 1.5.10 ,我也兴冲冲第一时间打开 idea,更新了插件,然后更新项目 kotlin 版本号,gradle build !然后…

    E:\kotlinProject\untitled>gradle build Could not resolve compiler classpath. Check if Kotlin Gradle plugin repository is configured in root project 'untitled'. FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':compileKotlin'. > Could not resolve all files for configuration ':kotlinCompilerClasspath'. > Could not resolve org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.10. Required by: project : > Could not resolve org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.10. > Could not get resource 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.5.10/kotlin-compiler-embeddable-1.5.10.pom'. > Could not HEAD 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.5.10/kotlin-compiler-embeddable-1.5.10.pom'. > Connection reset * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 4s 

    嗯…感觉刚开始升 1.4.32 的时候也遇到过…当时是等了几天,然后好像就好了…请问大家,这个正常要咋搞呢…

    6 条回复    2021-05-26 16:01:31 +08:00
    ho121
        1
    ho121  
       2021-05-26 13:58:01 +08:00 via Android
    Connection reset
    heavyrainn
        2
    heavyrainn  
    OP
       2021-05-26 14:00:03 +08:00
    @ho121 没错,就是我们单位这个破网,我算搞清楚了…
    zoharSoul
        3
    zoharSoul  
       2021-05-26 14:48:47 +08:00
    网的问题
    sagaxu
        4
    sagaxu  
       2021-05-26 14:53:11 +08:00 via Android
    因为你没配 maven 国内 mirror
    coolmint
        5
    coolmint  
       2021-05-26 15:39:20 +08:00 via iPhone
    我也是刚更新到 1.5.10 ,结果有些类一直在 anylizing,没有代码提示没有任何跳转功能,和在记事本写代码一样。有些类却功能正常
    windyboy
        6
    windyboy  
       2021-05-26 16:01:31 +08:00
    连接重制问题,每个语言都有
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2032 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 26ms UTC 16:11 PVG 00:11 LAX 09:11 JFK 12:11
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86