I downloaded a source code and just import in my android studio. Now my project is showing this error.
Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies]
/home/td/Downloads/link/app/build/intermediates/res/merged/debug/values-v24/values-v24.xml
Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt
The problem indicates on this file
..../link/app/build/intermediates/res/merged/debug/values-v24/values-v24.xml
How can I get rid of this. I searched several things. Some of them are telling about changing minSDKversion but this won't work.
Here is my gradle file
apply plugin: 'com.android.application'
android { compileSdkVersion 23 buildToolsVersion '25.0.0'
defaultConfig {
applicationId "com.creativedroids.link"
minSdkVersion 14
targetSdkVersion 23
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile 'com.android.support:support-v4:23.4.0'
compile 'com.google.android.gms:play-services:+'
compile files('libs/dagger-1.2.2.jar')
compile files('libs/javax.inject-1.jar')
compile files('libs/nineoldandroids-2.4.0.jar')
compile files('libs/tapjoyconnectlibrary.jar')
compile files('libs/tween-engine-api-sources.jar')
compile files('libs/tween-engine-api.jar')
compile files('libs/vungle-publisher-adaptive-id-3.3.2.jar')
}