App initialization very slow: FirebaseApp initialization unsuccessful

后端 未结 2 2128
没有蜡笔的小新
没有蜡笔的小新 2021-02-14 09:37

I know about this question but I don\'t think it helps me and the problem looks slightly different.

I\'m doing this app where I need to implement AppsFlyer for tracking a

2条回答
  •  孤独总比滥情好
    2021-02-14 09:59

    I would suggest you to exclude the firebase group using gradle:

    compile('com.google.android.gms:play-services-ads:9.0.2') {
        exclude group: 'com.google.firebase', module: 'firebase-common'
    }
    
    compile('com.google.android.gms:play-services-gcm:9.0.2') {
        exclude group: 'com.google.firebase', module: 'firebase-common'
    }
    

    Or, simply apply a global exclude configuration, like this:

    configurations {
        all*.exclude group: 'com.google.firebase', module: 'firebase-common'
    }
    

    Hope it helps :)

提交回复
热议问题