Я обновил все базы данных Firefox в Gradle, но эта проблема возникает, когда я хочу создать приложение, в чем решение?
инструкции были даны для обновления сервиса googleplay, но ранее я обновил все библиотеки в сборке сборки
Ошибка:
Dependency failing: com.google.firebase:firebase-messaging:20.1.6 -> com.google.firebase:firebase-iid@[20.1.6], but fire
base-iid version was 20.1.5.
The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art
ifact with the issue.
-- Project 'app' depends onto com.google.firebase:firebase-core@17.4.0
-- Project 'app' depends onto com.google.firebase:firebase-core@{strictly 17.4.0}
-- Project 'app' depends onto com.google.firebase:firebase-messaging@{strictly 20.1.6}
-- Project 'app' depends onto com.google.firebase:firebase-analytics@17.4.0
-- Project 'app' depends onto com.google.firebase:firebase-iid@{strictly 20.1.5}
-- Project 'app' depends onto com.google.firebase:firebase-messaging@20.1.6
-- Project 'app' depends onto com.google.android.gms:play-services-measurement-api@{strictly 17.4.0}
-- Project 'app' depends onto com.google.firebase:firebase-analytics@{strictly 17.4.0}
For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep
endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://
github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your b
uild.gradle file.
Сборка сборки (проект)
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
classpath 'com.google.gms:google-services:4.3.3'
Сборка сборки (moduleApp)
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
android {
compileSdkVersion 29
buildToolsVersion "29.0.0"
defaultConfig {
minSdkVersion 17
targetSdkVersion 29
versionCode 1
versionName "1.0"
vectorDrawables.useSupportLibrary = true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] } }
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.firebase:firebase-messaging:20.1.6'
implementation 'com.google.firebase:firebase-analytics:17.4.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'com.google.firebase:firebase-core:17.4.0'
implementation 'com.google.firebase:firebase-auth:19.3.1'
implementation 'com.google.firebase:firebase-database:19.3.0'
implementation 'com.google.android.gms:play-services-auth:18.0.0'
}