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.