0
I’m in the process of migrating from an Android project created in Eclipse to Androidstudio. When trying to compile after migrating, the following error appears:
Error:(1, 10) error: class, interface, or enum expected Error:(1, 1)
error: illegal character: '\ufeff'
I went "sapead" on the internet and found that this is a problem related to the BOM character (Byte Order Mark). This answer gives a solution that edit the file in Noteped++ and save the file with encoding "UTF-8 without BOM", however the project has around 500 files.
Is there any other way to solve the problem? If not, what would be best way to change and save multiple files (around 500) "NO GOOD" at the same time?
It didn’t work because you can’t find this string ' ufeff'
– viana
What, see my updated reply, it might be easier to download intellij than edit your 500 files
– rnd_rss