2015. 5. 21. 17:25
After importing project from eclipse into Android Studio i have got the following error :
Error: unmappable character for encoding UTF-8
To fix this issue, Open the File with the encoding issue. Go to File
menu-> Select File
You’ll see a Drop down list of different Encodings, Select
more
->
then Select UTF-8
.
and then you will see a dialog with Reload and Convert buttons, Select Convert option.
and build the project.
Solves the issue
Another way to change File Encoding is, You can see at the right bottom menu as shown in below image, click on it; displays a list of encodings. then just follow above steps…
On left Panel Goto Project Settings select File Encodings change the Project Encoding to UTF-8
반응형