title: How to clean project in Android Studio 2.1
body: <p>Whenever I try to <strong>clean</strong> my project, Build -> Clean Project,  in Android Studio 2.1, it executes the following command. Here's the output of Gradle console:</p>
  
  <pre><code>Executing tasks: [clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies]
  
  Configuration on demand is an incubating feature.
  Incremental java compilation is an incubating feature.
  :clean
  :app:clean
  :app:preBuild UP-TO-DATE
  :app:preDebugBuild UP-TO-DATE
  :app:checkDebugManifest
  :app:preReleaseBuild UP-TO-DATE
  :app:prepareComAndroidSupportAnimatedVectorDrawable2340Library
  :app:prepareComAndroidSupportAppcompatV72340Library
  :app:prepareComAndroidSupportSupportV42340Library
  :app:prepareComAndroidSupportSupportVectorDrawable2340Library
  :app:prepareDebugDependencies
  :app:compileDebugAidl
  :app:compileDebugRenderscript
  :app:generateDebugBuildConfig
  :app:mergeDebugShaders
  :app:compileDebugShaders
  :app:generateDebugAssets
  :app:mergeDebugAssets
  :app:generateDebugResValues UP-TO-DATE
  :app:generateDebugResources
  :app:mergeDebugResources
  :app:processDebugManifest
  :app:processDebugResources
  :app:generateDebugSources
  :app:preDebugAndroidTestBuild UP-TO-DATE
  :app:prepareDebugAndroidTestDependencies
  :app:compileDebugAndroidTestAidl
  :app:processDebugAndroidTestManifest
  :app:compileDebugAndroidTestRenderscript
  :app:generateDebugAndroidTestBuildConfig
  :app:mergeDebugAndroidTestShaders
  :app:compileDebugAndroidTestShaders
  :app:generateDebugAndroidTestAssets
  :app:mergeDebugAndroidTestAssets
  :app:generateDebugAndroidTestResValues UP-TO-DATE
  :app:generateDebugAndroidTestResources
  :app:mergeDebugAndroidTestResources
  :app:processDebugAndroidTestResources
  :app:generateDebugAndroidTestSources
  :app:mockableAndroidJar
  :app:preDebugUnitTestBuild UP-TO-DATE
  :app:prepareDebugUnitTestDependencies
  
  BUILD SUCCESSFUL
  
  Total time: 15.678 secs
  </code></pre>
  
  <p>Now I only want to <strong>clean the project</strong>, <em>not to rebuild it</em>. I've found one solution to do this by going into the <strong>Gradle Window</strong> and selecting <strong>clean</strong> manually but is there a better solution to do this because my solution feels like a hack. 
  <a href="http://i.stack.imgur.com/hA2TH.png" rel="nofollow">Gradle Window Clean app screenshot</a> And do you have any idea, <em>why is Android Studio behaving like this</em>?</p>