Android Studio Unknown emulator is working and cannot be completed

I have one emulator that is actively working at the moment, but I see two emulators running when the application starts. One of them is Unknown emulator.

When I select Unknown emulator, the console shows this error: Error: Failed to access the package manager. Does the system work?

How to complete this Unknown Simulator? I think this uses my system resources and degrades performance.

Screen shot

+5
source share
3 answers

Well, that was a BlueStacks emulator running in the background. Android Studio automatically detects it. An unknown simulator was there because BlueStacks was running in the background in the notification tray in my windows. When I closed BlueStacks from the notification tray, the Unknown emulator disappeared forever.

+6
source

The first reason is if your emulator is offline. To solve this problem you need to run the kill-server command from adb.

Open a command prompt -> go to android sdk-> go to platform-tools-> adb kill-server -> adb start-server

You need to execute the command above to remove the unknown

The second reason, if your project configuration does not match the emulator configuration

Change the emulator configuration to the project requirements. Perhaps your version of the application does not match the emulator configuration.

+2
source

It was very easy to fix for my case :) Just need to enter the following 2 commands using CMD:

adb kill-server adb start-server 

enter image description here Verify that the Windows PATH variable contains the location of the adb.exe file directory. Usually this should be:

 YOUR_PATH_TO_SDK\platform-tools //For example: D:\sdk\platform-tools 
+2
source

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


All Articles