Reputation: 25
I just created a new project in android studio, but it immediately threw the following errors pointing to v23/values-v23.xml file. 1 1. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'. 2. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
Assistance will be highly appreciated
Upvotes: 1
Views: 98
Reputation: 1682
I faced the same problem before a while , I changed compileSDKVersion to 23 , It worked for me .Here is app.gradle file . You can try this .
android {
compileSdkVersion 23
buildToolsVersion '21.1.2'
defaultConfig {
applicationId "com.myproject"
minSdkVersion 15
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:23.0.1'
}
Upvotes: 0
Reputation: 75798
At first change your buildToolsVersion
compileSdkVersion 23
buildToolsVersion "23.0.0"
defaultConfig {
// applicationId "package name"
minSdkVersion 17
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
or set buildToolsVersion to 23.0.1
Upvotes: 1