V/FA:不活动,正在断开与服务的连接
V/FA: Inactivity, disconnecting from the service
我在两个 android 项目中遇到过这个问题。在一个中,我试图从 Firebase 中检索数据到 Recyclerview,在另一个中,我试图使用 phone 号码登录,但在这两种情况下,logcat 都显示 V/FA:
Inactivity, disconnecting from the service
Inactivity, disconnecting from the service
您需要按照几个步骤来解决这个问题。
Reason: You face this problem because in the background there are few-thread and the process is running in the android studio which uses the connection of firebase and your process not get the connection.
步骤:
- 从您的 mobile/emulator 卸载该应用程序。
- 然后转到 android 工作室主菜单栏中的“文件”选项。
- 然后点击Invalidatecasha/restart。
只需几分钟时间即可重新启动您的 android 工作室,错误消失了。
因为所有后端线程和进程都关闭了。
编码愉快。
我在两个 android 项目中遇到过这个问题。在一个中,我试图从 Firebase 中检索数据到 Recyclerview,在另一个中,我试图使用 phone 号码登录,但在这两种情况下,logcat 都显示 V/FA:
Inactivity, disconnecting from the service
Inactivity, disconnecting from the service
您需要按照几个步骤来解决这个问题。
Reason: You face this problem because in the background there are few-thread and the process is running in the android studio which uses the connection of firebase and your process not get the connection.
步骤:
- 从您的 mobile/emulator 卸载该应用程序。
- 然后转到 android 工作室主菜单栏中的“文件”选项。
- 然后点击Invalidatecasha/restart。
只需几分钟时间即可重新启动您的 android 工作室,错误消失了。 因为所有后端线程和进程都关闭了。
编码愉快。