Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Gradle Build Finished in 4 min 15 sec

When i debug the android project in Android studio, it is compiling so slowly. What is the reason of this problem? How can i solve?

How many classes do you have in your project? Also, can you post your build.gradle? Depending on how big your project is and what configuration is set in your build.gradle, the assemble task can take quite a long time.

1 Answer

Hey Ahmet, the top answer from this SO question may help:

http://stackoverflow.com/questions/17324849/android-studio-gradle-build-speed-up