找项目的gradle.properties文件,把下面红框的相关部分注释或删除即可! 参考:https://blog.csdn.net/chunqiuwei/article/details/120174288