解决 Android Studio : minSdkVersion 8 cannot be smaller than version L
2014-08-01 13:39
731 查看
Android Studio 版本:0.8.2 beta
本文介绍了解决导入工程出现“cannot be smaller than version L ”的解决方法
报错:
[html] view
plaincopy
Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version L declared in library com.android.support:support-v4:21.0.0-rc1
解决:
很简单,这个是4.21的V4兼容库的问题,修改build.gradle :
[javascript] view
plaincopy
dependencies {
compile 'com.android.support:support-v4:+'
compile fileTree(dir:'ilbs',include:['*.jar'])
}
为
[html] view
plaincopy
dependencies {
compile 'com.android.support:support-v4:20.+'
compile fileTree(dir:'ilbs',include:['*.jar'])
}
现在总算明白了“+”的意思了吧
如果还没有解决,估计是你导入的eclipse工程/外部库的lib文件夹里面有这个v4文件,删除掉,并修改lib目录下的build.gradle为 v4.20.+
本文介绍了解决导入工程出现“cannot be smaller than version L ”的解决方法
报错:
[html] view
plaincopy
Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version L declared in library com.android.support:support-v4:21.0.0-rc1
解决:
很简单,这个是4.21的V4兼容库的问题,修改build.gradle :
[javascript] view
plaincopy
dependencies {
compile 'com.android.support:support-v4:+'
compile fileTree(dir:'ilbs',include:['*.jar'])
}
为
[html] view
plaincopy
dependencies {
compile 'com.android.support:support-v4:20.+'
compile fileTree(dir:'ilbs',include:['*.jar'])
}
现在总算明白了“+”的意思了吧
如果还没有解决,估计是你导入的eclipse工程/外部库的lib文件夹里面有这个v4文件,删除掉,并修改lib目录下的build.gradle为 v4.20.+
相关文章推荐
- 解决 Android Studio : minSdkVersion 8 cannot be smaller than version L
- Android Studio常见问题--uses-sdk:minSdkVersion 11 cannot be smaller than version 15 declared in library
- Android Studio 中Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version 7
- Android Studio常见问题 -- uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in library
- Android Studio常见问题 -- uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in library
- Android Studio报错:Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version
- Manifest merger failed : uses-sdk:minSdkVersion 9 cannot be smaller than version 10 declared in library
- Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version
- Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version 7
- Android -- uses-sdk:minSdkVersion 10 cannot be smaller than version L declared in library com.android.support:appcompat-v7:21.0.0-rc1
- Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 21 declared in li
- 关于Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 16 declared in lib
- Android Studio编译报错:sdk:minSdkVersion 1 cannot be smaller than version 7 declared in library
- uses-sdk tools:overrideLibrary uses-sdk:minSdkVersion 1 cannot be smaller than version 9
- uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library
- uses-sdk:minSdkVersion 14 cannot be smaller than version 21 declared in library
- Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared
- 关于Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in lib
- uses-sdk:minSdkVersion 11 cannot be smaller than version 14 declared in library
- Android studio 出现WARNING: APP_PLATFORM android-14 is larger than android:minSdkVersion 1 in F:/wangj