在repositories目录下加入maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} buildscript { repositories { google() maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} } dependencies { classpath 'com.android.tools.build:gradle:3.2.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { google() maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} } } task clean(type: Delete) { delete rootProject.buildDir }
android sutdio新项目编译失败
猜你喜欢
转载自blog.csdn.net/monkey081/article/details/84027431
今日推荐
周排行