title: Unable to delete directory in Android Studio
body: <p>Today I updated my Android Studio to 2.0 and when I run my project is gives me this error</p>
  
  <pre><code>Error:Execution failed for task ':app:clean'.
  &gt; Unable to delete directory: /media/dev1/08782A6D782A5A281/workspace/gengold/GenGold/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.3/jars
  </code></pre>
  
  <p>This is my build.gradle</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 21
      buildToolsVersion "21.1.2"
      defaultConfig {
          applicationId "com.mobile.gengold"
          minSdkVersion 15
          targetSdkVersion 21
      }
      buildTypes {
          release {
              minifyEnabled true
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
      productFlavors {
      }
  }
  
  dependencies {
  
      compile 'com.android.support:support-v4:21.0.2'
      compile 'com.android.support:appcompat-v7:21.0.3'
          /*compile 'com.google.android.gms:play-services-maps:6.5.+'*/
      compile 'com.google.android.gms:play-services:6.5.87'
      compile files('libs/jncryptor-1.2.0.jar')
  }
  </code></pre>
  
  <p>I have deleted the jars from that directory but it shows the error repeatedly. Also it creates the directory again.</p>