eri*_*icn 19 android crashlytics
* What went wrong:
Could not determine the dependencies of task ':app:mergeDebugResources'.
> Could not create task ':app:injectCrashlyticsMappingFileIdDebug'.
> No signature of method: org.gradle.api.internal.provider.DefaultValueSourceProviderFactory$ValueSourceProvider.forUseAtConfigurationTime() is applicable for argument types: () values: []
Run Code Online (Sandbox Code Playgroud)
项目的 build.gradle
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:4.0.0"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.5'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.0'
}
}
Run Code Online (Sandbox Code Playgroud)
应用程序的 build.gradle
apply plugin: 'com.google.firebase.crashlytics'
//...
dependencies {
implementation 'com.google.firebase:firebase-crashlytics:17.3.1'
}
Run Code Online (Sandbox Code Playgroud)
这是 Crashlytics 插件中的一个错误,当与 Gradle 6.1 - Gradle 6.4.1 一起使用时会导致错误。我们将尝试在即将发布的版本中修复它。同时,升级到 Gradle 6.5+ 应该可以修复错误。
| 归档时间: |
|
| 查看次数: |
2423 次 |
| 最近记录: |