Good afternoon! Not so long ago I began to develop an application for android. The application creates a database and write data through want Android Device Monitor pull database and view, but when you start, emulator-5554 switches to offline mode. I tried to solve the problem using the adb kill-server and adb start-server, to no avail. Prompt how to solve the problem? Used to develop Android Studio 2.3.
-
Kill the emulator and reboot it. – Gabe Sechan Mar 05 '17 at 17:37
-
I Tried. Still not working – Константин Mar 05 '17 at 17:42
-
This issue recently started for me as well. About as soon as AS 2.3 came out of beta. Usually a kill-server and start-server does the trick, but this is a new issue. I never used to get it. – slackwars Mar 07 '17 at 18:05
-
Possible duplicate of [Android emulator-5554 offline](https://stackoverflow.com/questions/3152681/android-emulator-5554-offline) – Anus Kaleem Aug 23 '17 at 11:37
10 Answers
I have the same problem with u, but I found it work when I open the Android device monitor first. 1.close your emulator and android device monitor. 2.open your android device monitor. 3.open your emulator. Then it work.I don't know why.

- 79
- 2
I had the same problem, the easiest working way is First, Open Android Studio Go to Tools -> Android -> AVD Manager - Find the emulator which has problem -> Right click on it and click COLD BOOT NOW .
This will restart the android system, it's just like you hold the power button of your Smartphone and choose Restart.

- 2,809
- 1
- 21
- 26
-
I just did this and it helped me quite a bit after running around for a lil' while trying to fix this issue. – nguni52 Nov 23 '21 at 16:05
In my case I had to:
in
build.gradle
change dependency toclasspath 'com.android.tools.build:gradle:2.2.3'
disconnect all connected devices
adb kill-server
adb start-server
- then start Android Device Monitor
- and at last launch emulator from Android Device Manager

- 21
- 1
- Open Android SDK
- Select Tab SDK Tools
- Update Android Emulator and package related

- 11
- 1
I just found the solution to this problem. It was just a small thing.
You need to turn on your developer settings Steps for this :
- Go to Settings
- Go to About Phone
- Touch on build number for seven times(after this you become a developer).
- Go back and go to developer options
- Turn on the USB Debugging.
That is it . Your emulator will be online.
Happy coding!!

- 4,941
- 6
- 29
- 37
I am using emulator Nexus 5X got same issue. This emulator work perfectly before i rebooted my laptop. After my laptop rebooted this issue raise.
I solve this issue after enabling/activate Developer Options on the Emulator.
How to Activate Developer Options on Emulator
- go to Settings
- select About Emulated Device
- Tap Build Number 7 times
Hope this could solve your problem or other readers. Thanks.

- 190
- 2
- 9
You can start the Android Device Manager (ADM) by the command line script.
- Go to the Android SDK tools folder %userprofile%\AppData\Local\Android\sdk\tools
- Run monitor.bat
You can ignore its ddms error message when ADM starts. It does not affect to access the emulator.
I created a shortcut of monitor.bat on my Desktop. So I just double click the shortcut to start it when I need to run it.

- 1,440
- 12
- 12
For those who use Charles Proxy
on their emulator, you need to enable USB debugging
in Developer Options.
This fixed my problem.

- 519
- 7
- 15
There is a really simple solution to this problem:
run the command:
adb reconnect
this brings back the device online, you can check by running adb devices

- 27
- 2