V / FA: inaction, disconnection from service

I am facing this problem in two android projects. In one I tried to extract data from Firebase in Recyclerview, and in the other I tried to log in using a phone number, but in both cases logcat shows V / FA:

Inactivity, disconnecting from the service 
+5
source share
1 answer

Inactivity, disconnecting from the service

You need to follow some steps to fix 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:

  • Remove the application from your mobile / emulator.
  • Then go to the β€œFile” option on the main menu bar in Android Studio.
  • Then click on Invalidatecasha / restart.

It takes a few mints and restarts Android studio, and this error has disappeared. Because all backend thread and process are closed.

Happy coding.

+3
source

Source: https://habr.com/ru/post/1271572/


All Articles