App initialization very slow: FirebaseApp initialization unsuccessful

后端 未结 2 2130
没有蜡笔的小新
没有蜡笔的小新 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:55

    I had the same issue and not only I had to downgrade the services but also gradle version.

    In my case I had (in app/build.gradle)

    compile 'com.google.android.gms:play-services-location:9.0.2'
    compile 'com.google.android.gms:play-services-maps:9.0.2'
    compile 'com.google.android.gms:play-services-gcm:9.0.2'
    

    and (in build.gradle)

    classpath 'com.android.tools.build:gradle:2.1.2'
    

    After changing services back to 8.4.0 and gradle to 1.5.0 (Probably higher version is fine also but it was the one I had before upgrading to 2.1.2) everything is fine and FirebaseApp initialization is gone.

    Maybe it's not the best solution but I couldn't find anything else.

提交回复
热议问题