直接在项目中加入其他样式会报错的时候,在配置文件中加入一面的红色那两句就好
android {
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
applicationId "com.guangdongzhuhai.zmzh.zmzh_365go_mall"
minSdkVersion 15
targetSdkVersion 26
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}