2017-05-13 12 views
7

압축을 해제 할 수없는 studio.Recently는 your SDK is missing or out of date 그래서, 나는 그것이 오류는 아래에 언급되어 Gradle Build failedGradle을 실패 빌드 - 내가 안드로이드를 사용하여 프로젝트를하고있는 중이 야

없다는 오류를 보여줍니다 번 다예요 SDK를 다운로드 한 오류를 보여 주었다 :

`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. 

이 오류를 해결하는 데 도움을주십시오.

+0

이 문제가 해결 되었습니까? – BMM

답변

3

빌드 캐시를 지워야합니다. 선택보기> 도구 윈도우> 메뉴 표시 줄에서 터미널하고 다음 명령 중 하나를 사용

Windows에서

: gradlew cleanBuildCache는

저도 같은 문제가 있었다