Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Emulator not seen in Device Chooser

I have a weird problem here. When I start an Emulator, it starts up after sometime but it is not shown in the Android Device Chooser(some times it is shown). Has anyone encountered this situation before?

Here is a screen shot of the situation. As you can see, one emulator is running on port 5554 (GingerBreadGoogleAPI), but the Device Chooser shows no emulator or device is connected. The cmd ./adb devices does not list any device. I am running Linux 3 kernel on Kubuntu OS with 2GB RAM.

One solution (which I do) is to simply start another emulator. But I dont want a solution for the problem, instead I want to know why this is happening.

like image 413
gkris Avatar asked May 25 '12 05:05

gkris


People also ask

Why is the emulator not showing in Android Studio?

Probably the project you are running is not compatible (API version/Hardware requirements) with the emulator settings. Check in your build. gradle file if the targetSDK and minimumSdk version is lower or equal to the sdk version of your Emulator.

Where is the Android Emulator folder?

The default location of this directory varies by platform: On Windows, it's the %LocalAppData%\Android\Sdk directory. This normally expands to C:\Users\<username>\AppData\Local\Android\Sdk , although it might vary based on your system.

How do I add a device to my emulator?

In Android Studio go to “Tools (Menu Bar) >Android > AVD Manager. Click on the “Create Virtual Device” button. Select “Phone” or “Tablet” as Category and select the device which you want to use to make a Virtual Device. Then click on the “Next” button.


1 Answers

It is happening sometimes; I am also facing this issue.

I am always trying kill-server & start-server

You can find ADB under SDK_Folder/platform-tools

First do

./adb kill-server

then

./adb start-server

and check

./adb devices
like image 68
Niranj Patel Avatar answered Oct 21 '22 04:10

Niranj Patel