Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running Gradle Build Very long

everyone! After the latest update, the Studio has become a very long run (3-40min) "Running Gradle Build" before running the application. How is it treated? The current Studio version: 1.3.2

like image 544
Sergey Bekrenev Avatar asked Oct 19 '22 01:10

Sergey Bekrenev


1 Answers

Firstly,

Allow Gradle to work offline : Go to File > Settings > Build,Execution,Deployment > Build Tools > Gradle. Then, in Global Gradle Settings tab, tick Offline Work.

Then, you can also tell Gradle to use a daemon : Just add org.gradle.daemon=true this line in the gradle.properties file.

Hope this helps.

like image 129
Asif Aminur Rashid Avatar answered Oct 21 '22 23:10

Asif Aminur Rashid