Android Studio : unmappable character for encoding UTF-8

前端 未结 9 1454
无人共我
无人共我 2020-11-27 13:15

After importing my project from eclipse into android studio i have got the following error :

Error: unmappable character for encoding UTF-8
<
9条回答
  •  一生所求
    2020-11-27 13:48

    Adding the following to build.gradle solves the problem :

    android {
     ...
    compileOptions.encoding = 'ISO-8859-1'
     }
    

提交回复
热议问题