问题
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:
- Uninstall the app from your mobile/emulator.
- Then go to the File option in the main menubar in the android studio.
- 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