【问题标题】:Error: Program type already present: androidx.arch.core.internal.FastSafeIterableMap错误:程序类型已存在:androidx.arch.core.internal.FastSafeIterableMap
【发布时间】:2020-10-13 07:35:07
【问题描述】:

当我将 unity 游戏集成到我的 android 应用程序时,应用程序可以轻松地在我的设备上运行,但是当我构建 apk 时出现以下错误。

我想在我现有的 android 应用程序上添加一个统一游戏。

implementation "androidx.collection:collection:$collection_version"
    implementation 'androidx.annotation:annotation:1.1.0'
    //    ANDROID LIBS
    //noinspection GradleCompatible
   //
    implementation 'androidx.appcompat:appcompat:1.0.2'
    implementation 'androidx.cardview:cardview:1.0.0'
    implementation 'com.google.android.material:material:1.0.0'
    implementation 'androidx.multidex:multidex:2.0.1'



//  FACEBOOK LIB
    implementation 'com.facebook.android:facebook-login:5.1.1'

//  GPLUS LIB
    implementation 'com.google.android.gms:play-services-auth:17.0.0'

    implementation 'com.google.firebase:firebase-auth:19.1.0'
    implementation ("com.firebaseui:firebase-ui-auth:4.1.0") {
        exclude group: "android.arch.lifecycle"
        exclude group: "com.android.support"
    }
//    FIREBASE LIBS
    implementation 'com.google.firebase:firebase-messaging:20.0.1'
    implementation 'com.google.firebase:firebase-core:17.2.1'
    implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
    implementation 'com.google.firebase:firebase-perf:19.0.2'

//   AWS LIBS
    implementation 'com.amazonaws:aws-android-sdk-core:2.6.31'
    implementation 'com.amazonaws:aws-android-sdk-s3:2.6.31'
    implementation 'com.amazonaws:aws-android-sdk-ddb:2.6.31'

//    WEBSERVICE LIB
    implementation 'com.medy:retrofitwrapper:1.5.1'

//    IMAGE LOAD LIB
    implementation 'com.github.bumptech.glide:glide:4.8.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'


//    OTHER LIBS
    implementation 'com.github.jineshfrancs:CaptchaImageView:1.0'
    implementation 'com.github.Ibotta:Supported-Picker-Dialogs:1.0.0'
    implementation 'com.tuyenmonkey:mkloader:1.4.0'
    implementation 'de.hdodenhof:circleimageview:3.0.0'
    implementation 'com.github.vihtarb:tooltip:0.2.0'
    implementation('com.github.ozodrukh:CircularReveal:2.0.1@aar') {
        transitive = true;
    }

//    AUTO SCROLL VIEW PAGER
    implementation('cn.trinea.android.view.autoscrollviewpager:android-auto-scroll-view-pager:1.1.2') {
        exclude module: 'support-v4'
    }
    implementation 'com.mindorks.android:prdownloader:0.5.0'

【问题讨论】:

    标签: android firebase unity3d androidx


    【解决方案1】:

    不要

    implementation 'com.google.firebase:firebase-perf:19.0.2'
    implementation 'com.google.firebase:firebase-auth:19.1.0'
    implementation 'com.google.firebase:firebase-messaging:20.0.1'
    implementation 'com.google.firebase:firebase-core:17.2.1'
    implementation ("com.firebaseui:firebase-ui-auth:4.1.0") {
            exclude group: "android.arch.lifecycle"
            exclude group: "com.android.support"
        }
    

    试试

    implementation 'com.google.firebase:firebase-perf:19.0.7'
    implementation 'com.google.firebase:firebase-auth:19.3.1'
    implementation 'com.google.firebase:firebase-core:17.4.3'
    implementation 'com.google.firebase:firebase-messaging:20.2.1'
    implementation 'com.firebaseui:firebase-ui-auth:6.2.0' // or 6.2.1
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-07-25
      • 2019-09-04
      • 2019-05-22
      • 2020-03-26
      • 2019-05-03
      • 2018-09-07
      • 2020-02-15
      • 1970-01-01
      相关资源
      最近更新 更多