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

后端 未结 15 1686
旧巷少年郎
旧巷少年郎 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 solved this problem with this method :

    1. ctrl + A in my activity and copy all codes
    2. delete YourClass.java
    3. create YourClass.java
    4. paste all code in new java class

    This method work for me. tnx

提交回复
热议问题