试验了好几个小时,看了很多方法,都不管用,运用一下设置好了,记录一下

1.

Android Studio3.2新建项目gradle read time out

2.在项目的build.gradle中添加

mavenCentral()
maven { url 'https://maven.google.com' }

放到jcenter()上面

如下图所示

Android Studio3.2新建项目gradle read time out



3.也可以添加一下代码
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}

Android Studio3.2新建项目gradle read time out

 






 

相关文章:

  • 2022-12-23
  • 2021-08-03
  • 2022-12-23
  • 2021-10-29
  • 2021-07-27
  • 2022-01-05
  • 2021-12-10
  • 2021-04-18
猜你喜欢
  • 2021-06-02
  • 2021-05-17
  • 2021-04-28
  • 2021-09-13
  • 2021-10-20
  • 2022-02-23
  • 2021-07-23
相关资源
相似解决方案