其他分享
首页 > 其他分享> > Error retrieving parent for item: No resource found that matches the given name 'android:TextAp

Error retrieving parent for item: No resource found that matches the given name 'android:TextAp

作者:互联网

Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.

改下build.gradle文件,将里面的compileSdkVersion改为23即可

apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.2"

    defaultConfig {
        applicationId "com.example.yanlei.mytk"
        minSdkVersion 15
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:23.2.0'
}

 

   

 

标签:TextAppearance,given,Inverse,compileSdkVersion,23,Material,android,com
来源: https://blog.51cto.com/u_12139363/3019851