【问题标题】:App stops working due to Firebase由于 Firebase,应用程序停止运行
【发布时间】:2018-10-14 13:42:23
【问题描述】:

直到上周,我的应用都运行良好。我没有更改源代码中的任何内容,但突然我的应用程序在登录、注册或忘记密码链接时不断崩溃,所有这些链接都连接到 Firebase。 另外,有人可以告诉我如何正确附加日志吗?我无法格式化它。 提前致谢!

我的日志:

05-04 11:52:59.592 25672-25697/com.securitytechno2018 V/FA: Connecting to remote service
05-04 11:52:59.599 25672-25697/com.securitytechno2018 V/FA: Processing queued up service tasks: 4
05-04 11:52:59.599 25672-25697/com.securitytechno2018 E/FA: Failed to send current screen to service
05-04 11:52:59.599 25672-25697/com.securitytechno2018 E/FA: Failed to send current screen to service
05-04 11:52:59.599 25672-25697/com.securitytechno2018 E/FA: Discarding data. Failed to send event to service
05-04 11:52:59.600 25672-25697/com.securitytechno2018 E/FA: Discarding data. Failed to send event to service
05-04 11:52:59.603 25672-25672/com.securitytechno2018 W/FA: Service connection failed: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null, message=null}
05-04 11:52:59.605 25672-25697/com.securitytechno2018 V/FA: Processing queued up service tasks: 0
05-04 11:53:30.178 23026-26580/? D/FA-SVC: No app data available; dropping event: com.securitytechno2018
05-04 11:53:45.533 23912-26810/? W/CronetSyncConnectionRcs: Upload content type not set.
05-04 11:53:46.014 2936-26865/? I/SQLiteConnectionPool: The connection pool for /data/user/0/com.google.android.gms/databases/phenotype.db has been closed but there are still 1 connections in use.  They will be closed as they are released back to the pool.
05-04 11:56:09.340 2936-2950/? W/SQLiteConnectionPool: A SQLiteConnection object for database '/data/user/0/com.google.android.gms/databases/phenotype.db' was leaked!  Please fix your application to end transactions in progress properly and to close the database when it is no longer needed.

【问题讨论】:

标签: android firebase firebase-authentication


【解决方案1】:

在您的依赖项中更改 firebase 版本和 Google Play 服务版本。首先更新google play服务;如果它有效,请忽略 firebase 版本。

Here's an answer to similar question.

【讨论】:

  • 谢谢!更新谷歌播放服务对我有用:)
猜你喜欢
  • 2012-09-12
  • 1970-01-01
  • 2021-11-12
  • 1970-01-01
  • 2014-03-25
  • 1970-01-01
  • 1970-01-01
  • 2013-02-01
  • 1970-01-01
相关资源
最近更新 更多