error: unmappable character for encoding UTF-8 add this line in android{} block of build.gradle file: compileOptions.encoding = “GBK”