V/FA:不活动,正在与服务断开连接 [英] V/FA: Inactivity, disconnecting from the service

查看:564
本文介绍了V/FA:不活动,正在与服务断开连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在两个android项目中遇到了这个问题.在一种情况下,我尝试将Firebase中的数据检索到Recyclerview中,而在另一种情况下,我尝试使用电话号码登录,但在两种情况下,logcat都显示V/FA:

I face this problem in two android projects . In one i was trying to retrieve data from Firebase into Recyclerview and in onother i was trying to login using phone number but in both cases logcat is showing 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.

You Need to follow few steps to remove this problem. 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.

步骤:

  1. 从您的手机/仿真器上卸载该应用.
  2. 然后转到android studio主菜单栏中的文件"选项.
  3. 然后单击Invalidatecasha/restart.

只需花费很少的时间,然后重新启动android studio,该错误就消失了. 因为所有后端线程和进程都已关闭.

It takes few mints and restarts you android studio and that error is gone. Because all the backend thread and process are closed.

快乐编码.

这篇关于V/FA:不活动,正在与服务断开连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆