编译无法完成



https://github.com/Xares01/TimeZoneWorld

它在构建中说:

Android issues: Program type already 
present: com.google.android.gms.auth.api.signin.internal.zzo    

在我尝试使用build.gradle应用程序文件beaucuse之前,它抱怨不同的版本,这是我不应该做的。

这是我当前的build.gradle文件:

android {
    compileSdkVersion 27
    defaultConfig {
        applicationId "com.example.jimjohansson.timezoneworld"
        minSdkVersion 16
        targetSdkVersion 27
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner     
        "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'),    'proguard-rules.pro'
            }
        }
    }
    dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation 'com.android.support:appcompat-v7:27.0.2'
      implementation "com.android.support:cardview-v7:27.0.2"
      implementation ('com.github.bumptech.glide:glide:4.5.0',{
          exclude group: 'com.android.support'
      })
      implementation 'com.android.support.constraint:constraint-layout:1.0.2'
      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'
      implementation 'com.firebaseui:firebase-ui-auth:3.2.2'
      implementation 'com.google.firebase:firebase-auth:12.0.1'
      implementation 'com.google.android.gms:play-services-drive:12.0.1'
      implementation 'com.android.support:support-v4:27.0.0'
    }
    apply plugin: 'com.google.gms.google-services'

更改以下内容:

implementation 'com.firebaseui:firebase-ui-auth:3.2.2'

对此:

implementation 'com.firebaseui:firebase-ui-auth:3.3.0'

Firebaseui 应该与 Firebase 版本兼容

参考这个:

https://github.com/firebase/FirebaseUI-Android#dependencies

相关内容

  • 没有找到相关文章

最新更新