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

后端 未结 15 1691
旧巷少年郎
旧巷少年郎 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:18

    I try using sublime, open the file then "Save with Encoding" there choose UTF-8 (without BOM), and it works :)

提交回复
热议问题