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
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.
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