在gradle文件里面添加如下配置 aaptOptions.cruncherEnabled = false aaptOptions.useNewCruncher = false 放在buildToolsVersion下即可