V/FA: Inactivity, disconnecting from the service [duplicate]

荒凉一梦 提交于 2019-11-30 08:54:08

问题


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

回答1:


Inactivity, disconnecting from the service

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.

Steps:

  1. Uninstall the app from your mobile/emulator.
  2. Then go to the File option in the main menubar in the android studio.
  3. Then click on Invalidatecasha/restart.

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

Happy Coding.



来源:https://stackoverflow.com/questions/46080700/v-fa-inactivity-disconnecting-from-the-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!