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.
source share