'\debug\stableIds.txt: error: failed to open: the data is invalid. (13)

Someone, please give some suggestions on this error.

android resource linkage failed:

\debug\stableIds.txt: error: failed to open: the data is invalid. (13).



Solution 1:[1]

Disable the antivirus. That actually helped me. I had all perms granted to AS, but for whatever reason, the antivirus was the culprit here.

Solution 2:[2]

What helped me was adding the .gradle folder (C:\Users\%USERNAME%\.gradle) to the anti-virus exceptions list.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Rymwa
Solution 2 Ryan M