my android studio gone crazy like this please help??
file was loaded in the wrong encoding: 'UTF-8' in android studio
my android studio gone crazy like this please help??
file was loaded in the wrong encoding: 'UTF-8' in android studio
For people in future:
I had the same problem.
I was able to solve it simply by making a copy of the project and opened the copied project. Copied project worked perfectly fine.
Note: I got this problem because of improper shutdown of my PC.
That's not an encoding issue. That's compiled bytecode, the content of a .class file. You cannot simply rename it into .java and expect it to work.
This is an old issue, but if anyone comes across this, what isn't mentioned above, but happening for me is that the original file on disk is intact java code. Android Studio is reading it like this for some reason.