uses-sdk:minSdkVersion 11 cannot be smaller than version 14 declared in library
来源:互联网 发布:香蕉网络电视 香蕉tv 编辑:程序博客网 时间:2024/06/06 19:59
当引入一个library时报uses-sdk:minSdkVersion 11 cannot be smaller than version 14 declared in library报这个错误。
这是因为AndroidManifest.xml文件中声明的
minSdkVersion 14
和该项目下的build.gradle文件中声明的不一致造成的。把build.gradle中的改成AndroidManifest.xml即可,不需要管建议,当然了你引入的library里面AndroidManifest.xml和build.gradle中不能太低,所有module应该和主项目保持一致<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />
该项目的build.gradle
build.gradle中
android { compileSdkVersion 19 buildToolsVersion "25" defaultConfig { applicationId 'com.xxx.ccccol' minSdkVersion 14 targetSdkVersion 25 versionCode 254 versionName "2.5.4" manifestPlaceholders = [UMENG_CHANNEL_VALUE: "iybrtool"] }
报错如下:
阅读全文
0 0
- uses-sdk:minSdkVersion 11 cannot be smaller than version 14 declared in library
- uses-sdk:minSdkVersion 14 cannot be smaller than version 21 declared in library
- Android Studio常见问题--uses-sdk:minSdkVersion 11 cannot be smaller than version 15 declared in library
- Manifest merger failed:uses-sdk:minSdkVersion 11 cannot be smaller than version 14 declared in libr
- Android Studio常见问题 -- uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in library
- uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library
- Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 21 declared in li
- minSdkVersion 14 cannot be smaller than version L declared in library com.android.support:support-
- 关于Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in lib
- Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared
- Android Studio编译报错:sdk:minSdkVersion 1 cannot be smaller than version 7 declared in library
- uses-sdk tools:overrideLibrary uses-sdk:minSdkVersion 1 cannot be smaller than version 9
- Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version 7
- Android Studio 中Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version 7
- Android Studio报错:Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version
- Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version
- 解决 Android Studio : minSdkVersion 8 cannot be smaller than version L
- 解决 Android Studio : minSdkVersion 8 cannot be smaller than version L
- windows下配置nginx+php环境
- Numpy Mathematical functions 数学函数
- javascript基础部分注意事项
- 机器理解的两段式合成网络迁移学习
- 【短视频系列之二】阿里云高级技术专家带你揭秘短视频解决方案
- uses-sdk:minSdkVersion 11 cannot be smaller than version 14 declared in library
- WF入门
- CSS学习笔记
- 父页面和iframe子页面变量的交互
- CSS揭秘(引言)
- 20170705
- C++多态
- 解锁glide 4.0使用 新姿势
- http-------待看