【问题标题】:Program type already present: android.support.design.widget.CoordinatorLayout$Behavior程序类型已经存在:android.support.design.widget.CoordinatorLayout$Behavior
【发布时间】:2018-10-14 10:39:43
【问题描述】:

当我在 Android 问题中运行应用程序时出现错误:程序类型已存在:android.support.design.widget.CoordinatorLayout$Behavior

这是我的 gradle 依赖项

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:appcompat-v7:26.1.0'
    implementation 'com.google.firebase:firebase-auth:15.0.0'
    implementation 'com.google.firebase:firebase-storage:15.0.0'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.1'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
    compile 'com.github.bumptech.glide:glide:4.7.1'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
    implementation 'com.android.support:support-fragment:26.1.0'
    implementation 'com.android.support:design:26.1.0'

}

【问题讨论】:

标签: android android-glide


【解决方案1】:

将 firebase-auth 更新为 15.1.0,将 firebase-storage 更新为 15.0.2。 现在他们有了独立的版本号。

还将 google-services 从项目 .gradle 更新为:

classpath 'com.google.gms:google-services:3.2.1'

查看发行说明here

【讨论】:

  • 我的设置已经在这个位置,我仍然收到错误。
猜你喜欢
  • 2018-08-13
  • 1970-01-01
  • 2018-12-03
  • 1970-01-01
  • 1970-01-01
  • 2018-09-23
  • 2019-02-22
  • 1970-01-01
  • 2018-10-21
相关资源
最近更新 更多