我只是在android studio中重建我的android项目然后出现了这些错误。
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
Error:Execution failed for task ':app:processDebugResources'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Nitesh\AppData\Local\Android\sdk\build-tools\21.0.0\aapt.exe'' finished with non-zero exit value 1
这是我的build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.0.0"
defaultConfig {
applicationId 'removed for security concern'
minSdkVersion 9
targetSdkVersion 21
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
debug {
}
}
productFlavors {
}
}
dependencies {
compile 'com.android.support:support-v4:21.0.0'
compile 'com.google.android.gms:play-services:+'
compile files('libs/android-query-full.0.25.10.jar')
compile files('libs/eventbus-2.4.0.jar')
compile files('libs/PayPalAndroidSDK.jar')
compile files('libs/universal-image-loader-1.9.1.jar')
}