This error appeared in Android Studio . Is there a setup to fix?
Error: (85, 69) error: unmappable character for encoding UTF-8
This error appeared in Android Studio . Is there a setup to fix?
Error: (85, 69) error: unmappable character for encoding UTF-8
You can solve this problem in two ways:
To convert the file, click the menu, below the right in your IDE. Select the correct type of encoding (type used authentically), then press "reload", select UTF-8 and press convert.
For the second solution, put the correct encoding type in your build.gradle as follows:
android {
...
compileOptions.encoding = 'windows-1251' // coloque seu encoding atual aqui
...
This blog the> is very interesting too. I recommend reading.