After Upgrading to Google Play Services 9.0.0, App Hangs in DynamiteModulesC

前端 未结 1 811
慢半拍i
慢半拍i 2020-11-29 05:40

Upgraded an app in development to 9.0.0 with these changes and a regeneration of google-services.json:

classpath \'com.google.gms:google-service         


        
相关标签:
1条回答
  • 2020-11-29 06:04

    The background_crash process is created by Firebase Crash Reporting. That's why you're seeing the duplicate messages, but I don't think its the root cause here. I'm going to file the hang as an issue upstream with the Google Play services team, but there is probably a workaround you can use in the mean time:

    Because you're specifying com.google.android.gms:play-services:9.0.0 as a dependency you're bringing in literally all of Google Play services - which is a lot!

    I would recommend replacing that line with the specific dependencies you need. You can find a full list here. As an example, if you're using Maps and Google Sign In, you might specify:

    compile 'com.google.android.gms:play-services-auth:9.0.0'
    compile 'com.google.android.gms:play-services-maps:9.0.0'
    
    0 讨论(0)
提交回复
热议问题