Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

All my layout xml files became autogenerated files

Yesterday everything on my app was working flawlessly but today when I opened Android Studio all the xml files were corrupt(?-not sure if this is the right term)

Every one looks like this

enter image description here

like image 827
StarkSlasher Avatar asked Nov 26 '18 18:11

StarkSlasher


1 Answers

I had face same issue today and below are few steps which i had done and i got success to resolve this issue.

Just copy your project into another directory or change project location. and open your project again this simple step works for me.

Few more steps which i had tried may be this one works for you.

Delete all cache file from below location

C:\Users{your pc name}.gradle\caches

C:\Users{your pc name}.AndroidStudio3.2\system\caches

Sync you project gradle.

Hope this will help you. This kind of error is really frustrating.

like image 131
Lokesh Desai Avatar answered Sep 20 '22 16:09

Lokesh Desai