HUAWEI DTM集成编译后项目运行出现错误

An error occurred during project running after HUAWEI DTM is integrated and compiled

DTM集成编译后工程运行显示"AAPT: error: not well-formed (invalid token)."怎么办?

通过将 -Dfile.encoding=UTF-8 添加到项目的 gradle.properties 文件中,将编码格式更改为 UTF-8。