Android Multiple dex files define Lcom/google/android/gms/common/api/zza

后端 未结 4 1430
闹比i
闹比i 2021-01-04 13:19

Building project and deploying app to the emulator with API level 22 or 25 goes ok, but when i try to build APK or deploy app to my real device with API level 16 i get the f

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-04 13:52

    Although I had the same error but the above solution did not work for me. I managed to solve the error by downgrading my firebase-ui library version from 2.0.0 to 1.2.0 and added the following to Project level build.gradle file:

    allprojects {
        repositories {
            jcenter()
    
            // Add the following
            maven {
                url 'https://maven.fabric.io/public'
            }
        }
    }
    

提交回复
热议问题