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.
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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With