我正在建立一个项目。到现在为止,这个工作还不错,但是在升级到Android Studio 3.2.1
之后,我面临下面的构建错误。
Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 15 declared in library [com.onesignal:OneSignal:3.10.5] C:\Users\gaura\.gradle\caches\transforms-1\files-1.1\OneSignal-3.10.5.aar\0496400264bec06e5ea525577acb13c2\AndroidManifest.xml as the library might be using APIs not available in 14
Suggestion: use a compatible library with a minSdk of at most 14,
or increase this project's minSdk version to at least 15,
or use tools:overrideLibrary="com.onesignal" to force usage (may lead to runtime failures)
我该如何解决。
最佳答案
您应该使用与项目兼容的库吗?或者,如果您使用的库是开源的,则可以使其兼容。或增加项目的minsdk。您是否指定要使用的库?