轉載自:http://blog.csdn.net/qw3752258/article/details/37829841
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 .....
解決:
很簡單,這個是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'])
- }
現在總算明白了“+”的意思了吧
如果還沒有解決,
估計是你的module文件夾里面有V4/V7/V13兼容庫文件,同樣修改版本號即可,并修改lib目錄下的build.gradle為 v4.20.+