解决 Android Studio : minSdkVersion 8 cannot be smaller than version L
Android Studio 版本:0.8.2 beta
本文介绍了解决导入工程出现“cannot be smaller than version L ”的解决方法
报错:
- 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 :
- dependencies {
- compile 'com.android.support:support-v4:+'
- compile fileTree(dir:'ilbs',include:['*.jar'])
- }
为
- dependencies {
- compile 'com.android.support:support-v4:20.+'
- compile fileTree(dir:'ilbs',include:['*.jar'])
- }
现在总算明白了“+”的意思了吧
如果还没有解决,估计是你导入的eclipse工程/外部库的lib文件夹里面有这个v4文件,删除掉,并修改lib目录下的build.gradle为 v4.20.+
!!!我的新站地址点击这里,欢迎光顾!!!