9
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Android Studioにてgradle build時にCould not read workspace metadata from ~ のエラー

Posted at

Android Studioにてgradle build時に以下のようなエラーが発生してビルドできず

Multiple build operations failed.

Could not read workspace metadata from C:\Users\UserName\.gradle\caches\transforms-4\hogehoge\metadata.bin

キャッシュ関連のようだったのでInvalidate Cachesからキャッシュ削除では直らずで
C:\Users\UserName\.gradle\cachesを直接全部消すことで直りました。

検索すると以下が出てきたので関係しているのかも?
比較的新しいバージョンのみのバグなのかもしれず、すぐ直るのかもしれないが備忘のため記載

9
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?