Gradle构建失败 - 无法解压缩

nan*_*mar 8 android android-gradle-plugin android-studio-2.2

我正在使用android studio做一个项目.最近它显示了一个错误,your SDK is missing or out of date所以,我再次下载了SDK.现在它显示一个错误,Gradle Build failed

错误如下:

`Error:Execution failed for task ':app:prepareComAndroidSupportAnimatedVectorDrawable2531Library'.
> Unable to unzip '/home/nandha/Android/Sdk/extras/android/m2repository/com/android/support/animated-vector-drawable/25.3.1/animated-vector-drawable-25.3.1.aar' to '/home/nandha/.android/build-cache/e07f150905e44f35b3635185e8f46be2d475fc86/output' or find the cached output '/home/nandha/.android/build-cache/e07f150905e44f35b3635185e8f46be2d475fc86/output' using the build cache at '/home/nandha/.android/build-cache'.
  To troubleshoot the issue or learn how to disable the build cache, go to https://d.android.com/r/tools/build-cache.html.
  If you are unable to fix the issue, please file a bug at https://d.android.com/studio/report-bugs.html.
Run Code Online (Sandbox Code Playgroud)

请帮我修复此错误.

小智 3

您需要清除构建缓存。从菜单栏中选择“视图”>“工具窗口”>“终端”,然后使用以下命令之一:

在 Windows 上:gradlew cleanBuildCache