在项目中加入其他样式

直接在项目中加入其他样式会报错的时候,在配置文件中加入一面的红色那两句就好

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"
}
posted @ 2017-11-07 14:48  劳猿外  阅读(164)  评论(0编辑  收藏  举报