Android Studio: Files are edited without my intervention

后端 未结 2 1341
无人共我
无人共我 2021-01-13 15:17

I was watching around for a bug and one solution says to do: \"File > Invalidate Caches and Restart\"

But then I find my build.gradle replaced with unkn

相关标签:
2条回答
  • 2021-01-13 15:44

    Though the files within Android Studio appeared to be modified and filled with some garbage, I was able to open them with other editors and the data is still there.

    Windows users, don't do this: "File > Invalidate Caches and Restart"

    I have not found a way to restore this in Android Studio. But was able to copy and paste the file data from another editor and make it work.

    0 讨论(0)
  • 2021-01-13 15:49

    I have tried below solution and its work for me.

    I have delete the caches folder from C: Drive. after an open project in an Android studio.

    C:\Users\admin.AndroidStudio3.3\system\caches

    0 讨论(0)
提交回复
热议问题