TextAppearance.Material.Widget.Button.Borderless.Colored not found 编译报错解决办法
原因:使用23版本编译导致的。
compileSdkVersion 23 // 26及以上版本不会该报错
targetSdkVersion 23 // 26及以上版本不会该报错
解决办法:
去掉 android.support.constraint.ConstraintLayout
// implementation ‘com.android.support.constraint:constraint-layout:2.0.4’
compileSdkVersion 23 //30
// buildToolsVersion "30.0.2"
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.xxx.xxx"
minSdkVersion 22
targetSdkVersion 23 //30
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}