5554 Android monitor emulator - offline

Good afternoon! Not so long ago, I started developing an Android application. The application creates a database and records data through the Android monitor of the Android monitor and browsing, but when it starts, the 5554 emulator switches to offline mode. I tried to solve the problem using kill-server and adb start-server, but to no avail. Tell me how to solve the problem? Used for development of Android Studio 2.3.

+6
source share
7 answers

I have the same problem with u, but I found that this works when I first open the Android device monitor. 1. Close your emulator and monitor for your Android device. 2.Open the monitor of the Android device. 3.Open your emulator. Then it works. I do not know why.

+6
source

In my case, I had to:

  • in build.gradlechange dependence onclasspath 'com.android.tools.build:gradle:2.2.3'

  • disconnect all connected devices

  • adb kill-server
  • adb start-server
  • then run Android Device Monitor
  • and finally, the launch emulator from Android Device Manager
+1
source
  • Android SDK
  • SDK Tools
  • Android
+1

:

adb connect localhost:5555
0

Android (ADM) script.

  • Android SDK% userprofile%\AppData\Local\Android\sdk\tools
  • monitor.bat

ADM ddms. .

monitor.bat . , , .

0

. .

:

  • About Phone
  • ( ).
  • USB-.

. .

!!

0

Nexus 5X, ​​ . , . , , .

/ .

  • 7

, . .

0

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


All Articles