Android Studio Gradle Build Error: Read Time Out

后端 未结 12 1695
太阳男子
太阳男子 2020-12-03 03:22

I have the latest Android Studio IDE installed on my Windows 10 laptop, and it was working fine until my windows operating system made a huge automatic update.

Now,

12条回答
  •  日久生厌
    2020-12-03 03:44

    Editing global gradle.properties with the following line was the fix for me:

    org.gradle.jvmargs=-Dorg.gradle.internal.http.connectionTimeout=120000 -Dorg.gradle.internal.http.socketTimeout=120000
    

提交回复
热议问题