当我尝试在安卓工作室中添加Firebase推送通知时,它会显示错误。
Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library [com.google.firebase:firebase-iid:19.0.0] C:Usersgolam.gradlecachestransforms-2files-2.1856a947c1a9c6ebc4d2fc0c2fb4dbecefirebase-iid-19.0.0AndroidManifest.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.google.firebase.iid" to force usage (may lead to runtime failures)
Firebase Library com.google.firebase:Firebase-IID:19.0.0 最低支持 uses-sdk:minSdkVersion 16,但您的日志显示您有15个,因此需要将minsdk级别从15更改为16或使用支持uses-sdk:minSdk版本15的库
只需降级您的 Firebase 版本或将您的最小 SDK 升级到 16 而不是 15