在工程build.gradle下添加阿里云 buildscript { repositories { jcenter() google() maven{ url 'http://maven.aliyun.com/nexus/content/groups/google'} maven{ url 'http://maven.aliyun.com/nexus/content/groups/jcenter'} } dependencies { classpath 'com.android.tools.build:gradle:3.2.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { jcenter() google() maven{ url 'http://maven.aliyun.com/nexus/content/groups/google'} maven{ url 'http://maven.aliyun.com/nexus/content/groups/jcenter'} } }
androidstudio 编译太慢
最新推荐文章于 2024-07-21 20:30:00 发布