Android Studio 运行gradle命令时报错: 编码UTF-8的不可映射字符 解决方法:在项目的module下的build.gradle中添加如下配置: tasks.withType(JavaCompile) { options.encoding = "UTF-8" }