您的位置:首页 > 移动开发 > Android开发

解决 Android Studio : minSdkVersion 8 cannot be smaller than version L

2014-09-01 14:16 363 查看
Android Studio 版本:0.8.2 beta
本文介绍了解决导入工程出现“cannot be smaller than version L ”的解决方法
本文来自:http://www.cnblogs.com/martinjinyu/articles/3932966.html

报错:

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.+

水滴石穿,绳锯木断
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐