Android Studio: 编码UTF-8的不可映射字符

xiaoxiao2025-04-24  15

Android Studio 运行gradle命令时报错: 编码UTF-8的不可映射字符

解决方法:在项目的module下的build.gradle中添加如下配置:

tasks.withType(JavaCompile) { options.encoding = "UTF-8" }
转载请注明原文地址: https://www.6miu.com/read-5028988.html

最新回复(0)