Reputation: 2789
i need your help, when i try to compile my new app without any addition of dependences and classpath i get this exception
ubuntu 15.4 32bit
Error Execution failed for task app clean.
Unable to delete directory: .../app/build/intermediates/exploded-aar/com.android.support/animated-vector-drawable/23.4.0/jars
Upvotes: 3
Views: 8070
Reputation: 1496
Gradle process holds file locks, so either kill any java.exe processes manually or be more precise and kill all Gradle daemons by issuing this command in your project root directory:
gradlew daemon --stop
This will stop all daemons of particular Gradle version.
Upvotes: 1
Reputation: 31
Upvotes: 3
Reputation: 3361
This worked for me.
Clean project from Terminal using this command 'gradlew clean'.
Upvotes: 1
Reputation: 84
Running android studio as administrator fixed the problem for me. (windows 10)
Upvotes: 4
Reputation: 84
Simply do following things.
Then Rebuild project it will work...
Upvotes: 1