我正在使用 android studio 做一个项目。最近它显示错误 your SDK is missing or out of date
所以,我再次下载了 SDK。现在它显示错误 Gradle 构建失败
错误如下:
`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.
请帮我解决这个错误。
最佳答案
您需要清除构建缓存。 从菜单栏中选择“查看”>“工具窗口”>“终端”,然后使用以下命令之一:
在 Windows 上: gradlew cleanBuildCache
关于android - Gradle 构建失败 - 无法解压缩,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43950483/