Android studio very slow gradle build

后端 未结 2 1653
名媛妹妹
名媛妹妹 2021-01-17 22:15

I\'m new to Android Studio..whenever I run my project it takes around 14 mins for gradle build..I\'ve check for solutions to improve build speed as mentioned in here

2条回答
  •  失恋的感觉
    2021-01-17 22:51

    make gradle.propertiesfile in C:\Users\\.gradle (Windows)

    then,Add this line to the file:

    org.gradle.daemon=true
    

提交回复
热议问题