uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library--依赖和工程的minSdkVersion

报错问题

Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library [cn.jzvd:jiaozivideoplayer:6.2.12] C:\Users\Administrator.gradle\caches\transforms-1\files-1.1\jiaozivideoplayer-6.2.12.aar\e0c4012c2152d70f61009ad8388585a0\AndroidManifest.xml as the library might be using APIs not available in 15
Suggestion: use a compatible library with a minSdk of at most 15,
or increase this project’s minSdk version to at least 16,
or use tools:overrideLibrary=”cn.jzvd” to force usage (may lead to runtime failures)

implementation导入依赖版本不同

Android studio中使用implementation导入依赖jar比较方便 ,但是也带来了一个问题:
那就是jar中的minSdkVersion等和本地的不同的问题,但是我们导入的jar包无法改变,
本地的又不想改变怎么办?

解决方法

根据上面错误解决提示:
在AndroidMainifest.xml中加入下面 就可以解决冲突问题。

你可能感兴趣的:(错误集)