Slow loading Gradle in Android Studio 2.3.2 [closed]

2

I just installed the Android Studio , and it takes time to load Gradle . I have 8 GB of RAM and an Intel core 7 .

  

Resolve dependencies: app:debugAndroidTestApkC .

    
asked by Jairo Mansilla 22.05.2017 в 00:23
source

2 answers

1

In gradle.properties add this

org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -Djava.net.preferIPv4Stack=true

and change in the project gradle all jcenter() by mavenCentral()

I hope it helps you.

    
answered by 22.05.2017 в 19:25
0

Disables the Offline Work

option

File > Build, Execution, Deployment > Gradle > Offline Work .

    
answered by 22.05.2017 в 17:21