I'm working with Android Studio for the first time and when building a project Gradle just takes forever (Ubuntu 15.10, Android Studio 1.5.1, javac 1.7.0.80).
Suspecting I did something wrong, I did the following already 3 times to no avail:
Log off after 15 mins because Gradle just hangs, and Studio will no respond to the Exit menu option (it responds to other menu options such as About). All this time, the message "Gradle Build Running" appears, the wheel keeps spinning and the time counter increments every minute.
Any ideas what's wrong?
Addendum:
Per suggestion of T.Lulius I added the gradle.properties as explained in the link. This didn;t work. Then I also marked the other boxes mentioned in the link.
Result is the same :-(
When I click on Build he following happens: Build starts, at the bottom of the screen you get the build status:
- Executing tasks:[:app:assembleDebug] | Gradle build running |1 process running | 3:1
- 10 mins later it was still the same so I returned half an hour later
- 2 hours later the status bar has remained the same.
This is getting frustrating. One would suppose that the out of the box version of Studio would at least work :-(
What am I missing?
Thanks!