Phantom Android Emulator

I am working on an Android application. Today, a phantom emulator has appeared on my system. It appears when I have NOTHING and I run "adb devices". I steal the "logcat" output when I develop in Eclipse and I do not see the REAL emulator, I start to configure my application.

When I run one emulator, I actually have two.

The only change I made recently is to install the WIMM emulator (see www.wimm.com). However, I do not start this one.

Any clues would be appreciated. Thanks.

+4
source share
3 answers

Sometimes this happens to me. I do

"adb kill-server"

"adb start-server"

and usually he connects again. Although I do not know why this is happening. I am very new to android ...

+3
source

Try to run

"/ path / to / android-sdk / tools / android update adb"

follow on:

"adb kill-server"

"adb start-server"

This should solve your problem. This is probably due to the fact that adb tools change when installing WIMM add-ins.

+1
source

I had something like this.

ADB scans the port to see if emulators are running. I had an application using port 5555.

So enter the following command (unix / mac / linux):

lsof -i -P | grep 5555 

It will provide you with the application and pid that use the port:

 uHD-Netwo 320 jva 7u IPv4 0x07b77338 0t0 TCP localhost:5555 (LISTEN) uHD-Netwo 320 jva 16u IPv4 0x0861b788 0t0 TCP localhost:5555->localhost:55265 (ESTABLISHED) 

Then just kill the application:

 kill -9 320 

The emulator should no longer be.

0
source

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


All Articles