Error(1,1)illegalcharacter '\ufeff' when compiling on android studio

后端 未结 15 1711
旧巷少年郎
旧巷少年郎 2020-12-14 05:50

I got an Eclipse project source code(I was told that on Android Studio, maybe they just confused), and I start to migrating the code to android studio refers to

15条回答
  •  再見小時候
    2020-12-14 06:21

    Above are great solutions. However, if none of them works, try this one:

    Open the file in Notepad++; Copy everything; Create a new file with the same name; Paste everything; Save it.

    Now it is gone.

提交回复
热议问题