When using Android Studio, the new project after download gradle very slow, sometimes to more than 40 minutes, it can be modified to speed up by domestic sources.
By modifying build.gradle file to do. In the root directory of your Android Studio installed, this file is specific path: Android Studio \ plugins \ Android \ lib \ Templates \ Gradle-the Projects \ NewAndroidProject \ root
as shown:
I have here is installed in a directory Android.
Wherein the Google () and jcenter () Replace
Maven {URL 'https://maven.aliyun.com/repository/public/'}
Maven {URL 'https://maven.aliyun.com/repository/google/ '}
I then replaced with new construction, download gradle when the general need only a three to four minutes.
Android Studio accelerate gradle sync speed
Guess you like
Origin blog.csdn.net/qq_40456669/article/details/104269398
Ranking