Posted on 26th August 2016 3:36pm Exporting Android App from Eclipse to Android Studio gives Error retrieving parent for item: No resource found that matches the given name …

We got this error recently importing Eclipse based Apps to Android Studio 2.2, the solution was found to be an incompatibility between the compileSdkVersion and the targetSdkVersion, this is found in the Gradle Scripts section under the build.gradle file, we changed the compileSdkVersion to 23 and all errors disappeared …

android {
    compileSdkVersion 23 — This was originally 22
    buildToolsVersion “24.0.2”

    defaultConfig {
        applicationId “seer.computing.mysqlfunctions”
        minSdkVersion 14
        targetSdkVersion 23
    }

    buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile(‘proguard-android.txt’), ‘proguard-project.txt’
        }
    }
}

«
»