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

后端 未结 15 1705
旧巷少年郎
旧巷少年郎 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条回答
  •  Happy的楠姐
    2020-12-14 06:31

    I tried several of the other answers here with no joy.

    In the end I simply deleted the offending line and rewrote it directly into Android Studio. The error disappeared.

    Was this caused by me copying and pasting the line of code from youtube (or whatever random blog I was looking at at the time)?

提交回复
热议问题