介绍
介绍
福哥最近在编译项目的时候发现报了一个莫名其妙的错误,我还没有改过任何代码啊?上次编译还是好的啊?怎么回事啊?
教程
问题
编译项目提示错误
Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library [com.tencent.mm.opensdk:wechat-sdk-android-without-mta:6.6.5] C:\Users\tongfu\.gradle\caches\transforms-2\files-2.1\bb6d363fce1540cd3101993361e61d32\wechat-sdk-android-without-mta-6.6.5\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="com.tencent.mm.opensdk" to force usage (may lead to runtime failures)
解决
按照提示信息修改minSdk的版本到16,即可解决问题