天天看點

解決 Android Studio : minSdkVersion 8 cannot be smaller than version

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'])  

}  

    compile 'com.android.support:support-v4:20.+'  

現在總算明白了“+”的意思了吧

如果還沒有解決,

估計是你的module檔案夾裡面有V4/V7/V13相容庫檔案,同樣修改版本号即可,并修改lib目錄下的build.gradle為 v4.20.+