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

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

1.

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

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

放到jcenter()上面

如下图所示








猜你喜欢

转载自www.cnblogs.com/wangjiaghe/p/9757479.html