轉(zhuǎn)載自:http://blog.csdn.net/qw3752258/article/details/37829841
Android Studio 版本:0.8.2 beta
本文介紹了解決導(dǎo)入工程出現(xiàn)“cannot be smaller than version L ”的解決方法
報(bào)錯(cuò):
- Error:Execution failed for task ':app:processDebugManifest'.
- > Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version L declared in library .....
解決:
很簡單,這個(gè)是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'])
- }
現(xiàn)在總算明白了“+”的意思了吧
如果還沒有解決,
估計(jì)是你的module文件夾里面有V4/V7/V13兼容庫文件,同樣修改版本號(hào)即可,并修改lib目錄下的build.gradle為 v4.20.+