2017-05-13 10 views
7

を解凍することができませんでしstudio.Recentlyそれはyour SDK is missing or out of dateはそう、私はそれがエラーを以下に記載されてGradle Build failedのGradleが失敗したビルド - 私はアンドロイドを使用してプロジェクトをやっている

というエラーが表示され、一度again.Now 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>ターミナルと、次のいずれかのコマンドを使用します。

Windowsの場合: gradlew cleanBuildCache

関連する問題