Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What happens after I run rebuild project in Android Studio?

The document http://www.jetbrains.com/idea/help/rebuilding-project.html?search=reb only tells me how to rebuild a project.

I don't know what does it mean to rebuild a project (Menu --> Build --> Rebuild Project), will it clean all edit cache? I find the size of the project reduced after I run rebuild project?

What does it mean to clear a project in Android Studio?

like image 835
HelloCW Avatar asked Jun 05 '15 09:06

HelloCW


1 Answers

In Android Studio, almost every voice in the build menu is mapped to a (possibly more than one) gradle action, where Gradle is the official build system for android. In particular, when you clean the project you are deleting some files from the build folder inside your app module, and when you select rebuild that's the equivalent of doing a gradle clean and build. For more information on the topic I suggest this course on Udacity, which you can view for free. It teaches you gradle and how it integrates with android studio.

https://www.udacity.com/course/gradle-for-android-and-java--ud867

like image 154
flower_green Avatar answered Oct 19 '22 19:10

flower_green