[英]Having error in android studio using kotlin
Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library [com.google.firebase:firebase-auth:19.2.0] /home/shubham/.gradle/caches/transforms-2/files-2.1/782dd1b43e0016afc3d7d0a4252da9e3/firebase-auth-19.2.0/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.google.firebase.auth" to force usage (may lead to runtime failures)
In your application modules' build.gradle
;在您的应用程序模块的
build.gradle
; change minSdkVersion to at least 16.将 minSdkVersion 更改为至少 16。
Like so:像这样:
android {
defaultConfig {
applicationId "YOUR_APPLICATION_ID"
minSdkVersion 16
targetSdkVersion 29
versionCode 1
versionName "1.0.0"
}
com.google.firebase.auth min 16 , 你的项目 min 是 15, 你应该把 minSdkVersion 改成 16. 解决它的坏方法是你的mainfest,它可以运行但运行时可能会出错
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.