解决 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 .....

解决:

很简单,这个是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.+

你可能感兴趣的:(Android,Studio,ERR/TIP,cannot,be,smaller,Android,Studio,minSdkVersion)