0

I just updated Android Studio to 2.3. An error is shown that one of the cache files in the Gradle folder cannot be accessed, hence the Gradle sync failed. I tried restarting Android Studio and re-downloading the Gradle files but it doesn't help. Here is a picture of the error:

enter image description here

https://i.stack.imgur.com/iYwAE.png

Daniel
  • 2,355
  • 9
  • 23
  • 30
Dhrumil Mayur Mehta
  • 339
  • 1
  • 6
  • 20

1 Answers1

0

You need to update your build tools to 25.0.0. Edit your build.gradle file in the main module:

android {
    compileSdkVersion 25
    buildToolsVersion "25.0.2"
    ...
}

If that doesn't work, I recommend you to go back to Android Studio 2.2.3: http://tools.android.com/download/studio/builds/android-studio-2-2-3

Camilo Ortegón
  • 3,414
  • 3
  • 26
  • 34