Error retrieving parent for item: No resource found that matches the given name after upgrading to A

来源

Your compile SDK version must match the support library’s major version.

Since you are using version 23 of the support library, you need to compile against version 23 of the Android SDK.

Alternatively you can continue compiling against version 22 of the Android SDK by switching to the latest support library v22.

以下代码中的第二行和倒数第二行要匹配

android {
    compileSdkVersion 19
    buildToolsVersion '19.1.0'
}
dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
// compile 'com.android.support:appcompat-v7:23.0.1'
    compile 'com.android.support:support-v4:19.1.0'
}

你可能感兴趣的:(android,构建错误)