当前位置: 代码迷 >> 综合 >> Android项目报错:Could not resolve all artifacts for configuration ‘:classpath‘.
  详细解决方案

Android项目报错:Could not resolve all artifacts for configuration ‘:classpath‘.

热度:2   发布时间:2024-02-22 21:48:35.0

部分报错信息

A problem occurred configuring root project ‘android01’.
Could not resolve all artifacts for configuration ‘:classpath’.
Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jre8:1.2.0.
Required by:

本来项目的build.gradle中使用的是google()来下载gradle 后来换成了
maven{ url 'https://maven.aliyun.com/nexus/content/groups/public/'}
才有了如上报错

  相关解决方案