ERROR:Android Studio - “Unmappable character for encoding UTF-8”

Adding the following to build.gradle solves the problem :

android {...
    compileOptions.encoding ='UTF-8'

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326801530&siteId=291194637