解决 Android(安卓)Studio : minSdkVersion 8 cannot be smaller than version L
16lz
2021-12-12
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】解决Vivo及5.1低版本 webView适配问题
- 解决:Unable to connect to repository https://dl-ssl.google.co
- android BitmapFactory的OutOfMemoryError: bitmap size exceeds
- Android(安卓)PinnedSectionListView 收缩
- Android(安卓)Studio:resource android:attr/dialogCornerRadius
- android中HttpURLConnection调用getResponseCode()时崩溃 解决方
- Android读取xxx.properties配置文件中文出现乱码解决方法
- Android(安卓)2-10 RecyclerView
- android 开发中遇到的问题及解决方法