1. 在build.gradle中,添加
aaptOptions{ cruncherEnabled = false useNewCruncher = false }
就直接添加到buildToolsVersion的下方即可,这两句就是告诉Android Studio忽略检查.9图片。