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 Build a Simple Android App Getting Started with Android Android Project Basics

what does gradle do ?

i wanna no the role of gradle in android applications

2 Answers

Niyamat Almass
Niyamat Almass
8,176 Points

Gradle is a build system!

When you first launch your android studio you can see gradle in Action. When you run your android project you can also see gradle in Action. It goes out and package all of your java code and resources into a single apk.

This is not a professional answer.

Need a professional answer. Checkout this stackoverflow question and answer http://stackoverflow.com/questions/16754643/what-is-gradle-in-android-studio

Also, there is a great workshop for learning gradle. If you want to known how to use gradle then check this out https://teamtreehouse.com/library/dependency-management-with-gradle

ok i get what u wanna say, thank's