I've followed following topic with no result. Decided to find|grep
all support-v4
contents in project folder and remove them. Every time I make and run project it respons with:
Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version L declared in library com.android.support:support-v4:21.0.0-rc1
My build.gradle
from module is:
apply plugin: 'com.android.application'
android {
compileSdkVersion 19
buildToolsVersion "20.0.0"
defaultConfig {
applicationId "com.android"
minSdkVersion 14
targetSdkVersion 17
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile 'com.google.android.gms:play-services:4.2.+'
compile 'com.android.support:appcompat-v7:+'
}
build.gradle
from project root:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.2'
}
}
allprojects {
repositories {
jcenter()
}
}
I know it is similar topic but suggested sollution does not fit this case. I would appreciate any explanation of this all dependencies structure which might have impact in that problem.
When we find|grep
for "support-v4" inside this project folder it looks like this:
...\.gradle\1.12\taskArtifacts\fileSnapshots.bin
...\.gradle\1.12\taskArtifacts\taskArtifacts.bin
...\.idea\workspace.xml
...\.idea\libraries\support_v4_21_0_0_rc1.xml
...\app\app.iml
...\app\build.gradle
...\app\build\intermediates\incremental\mergeResources\debug\merger.xml
...\build\intermediates\model_data.bin
Regards
Replace:
with:
In general, do not use
+
wildcards at the top version level. If you wanted to use19.1.+
, or even19.+
, I wouldn't argue (though others would).