App stops responding after resuming from background sometimes. Could Firebase be to blame?

后端 未结 1 1892
挽巷
挽巷 2021-01-13 06:32

App stops responding every few resumes. This only happens on the release build, not the debug build. It happens on any activity, and there doesn\'t seem to be any pattern to

1条回答
  •  广开言路
    2021-01-13 06:59

    I had the exact same problem and solved it by replacing the dependency com.google.android.gms:play-services:9.0.0 with the ones I actually used as described in the answer here https://stackoverflow.com/a/37379662/4134617

    My build.gradle ended up like this.

        dependencies {
          compile project(':BaseGameUtils')
          compile "com.google.android.gms:play-services-games:9.0.0"
          compile "com.google.android.gms:play-services-plus:9.0.0"
          compile "com.google.android.gms:play-services-ads:9.0.0"
          compile 'com.google.firebase:firebase-core:9.0.0'
        }
    

    0 讨论(0)
提交回复
热议问题