I'm use Android studio , and when i build a project , it's give me from Grandle console : Executing tasks: [:app:assembleDebug]' , and it's get stuck on it , and give me no progress !
Asked
Active
Viewed 6,666 times
3 Answers
4
Well I don't know if you're still looking for a solution..but this might help someone, someday :
- Go to the
.gradlefolder (C:\Users\your_user_name\.gradle). - Create a
gradle.propertiesfile (if it does not exist). Add these lines in it :
org.gradle.daemon=true org.gradle.parallel=true
JRodDynamite
- 11,607
- 2
- 40
- 57
RidRoid
- 901
- 2
- 13
- 38
-
org.gradle.parallel=true or #org.gradle.parallel=true – Dec 11 '15 at 16:39
2
In Android Studio go to File -> Settings -> Build, Execution, Deployment -> Buil Tools -> Gradle
Check the 'Offline work' under 'Global Gradle settings'
It will make the gradle build 90% faster.
Biswajit Karmakar
- 9,541
- 4
- 35
- 41
2
I tried everything and then found out Gradle wasn't doing anything in Task manager. It was just sitting "IDLE" .... I don't know why they don't have a warning message for that. I guess the software world is just full of bugs and imperfection
I turned off my Antivirus(avast) for an hour and everything started working normal. Build time decreased from 30 minutes to 1 and a half minutes. Lost 2 days but i guess i should be thankful now
Viral Heat
- 31
- 1