There is a new Android Studio update: https://sites.google.com/a/android.com/tools/recent/androidstudio030released
The link says:
The improved per
I took several steps including: downloaded the gradle-1.8-all.zip file and placed it in a new directory off of my user home directory (Windows-7) and named the directory "gradle-1.8". For good measure, I also unzipped the download in this new directory. I also added a user environmental variable "GRADLE_HOME" with a pathway to this new directory.
I manually edited the "build.gradle" file in the project's top-level directory and entered:
dependencies {
classpath 'com.android.tools.build:gradle:0.6.3'
}
When Android Studio opened the existing project and I did a build or tried to run it, I got the subject error. The final solution, as mentioned by others, was a several step process:
This worked. The "gradle" directory was created again in the project's top-level directory. The project builds clean and runs. It would be nice to have step-by-step upgrade instructions for these updates.