emulator not showing up on android studio - android-studio

I've searched all over the web for the past 3 days and can't seem to find a solution. I've done everything mentioned in this post:
Android emulator not showing in Visual Studio
It seems all the 'working' solutions to this problem has been stated in what this guy says he did in his original post, including restarting ADB server (kill and start), restarting my computer, reinstalling emulator and HAMX, installing and running as an admin, changing the timeout delay, reinstalling almost everything, making sure my emulator is installed, etc.
It keeps saying Gradle build finished in 475ms, etc and then waiting for target device to come online for like 5-10 minutes and nothing happens. No emulator shows up. I can't seem to find the solution to this and I am on the verge of giving up, I really need Android Studio to work so I can start on my app.
Can I please get some guidance with this?
If it's relevant, I'm using a Mac.

Have you tried this. Go to the emulator settings and set the Graphics Emulation mode to Software GLES. The default mode will be automatic. I am not sure how it works, but that worked for me on two Linux machines. Being software emulation, the performance of the emulator will not be as good as when using hardware graphics. It seems to be a bug with the SDK.

For me the only thing that worked in macos was to disable docker before starting Studio.

Wipe the data of your Android virtual Device and then start the emulator.

I was using Android studio 4.2 and faced this issue.
No Solutions worked for me so I just erased android studio files. Updated to Android Studio Arctic Fox.
Link to remove android studio files from mac : How to completely uninstall Android Studio on Mac?
For Windows : How to completely uninstall Android Studio from windows(v10)?

Related

Emulator not working in Android Studio Dolphin

I'm using AS 2021.3.1.17 on Windows 10.
My emulator is Pixel 3a with API 28 (Pie).
Whenever I try to run my code, it says "gradle build finished" and "launch succeeded" but the emulator page still says "No emulator are currently running."
I've tried:
reinstalling AS
updating the gradle plugin to 7.4
wiping the emulator data
cold boot
deleting it and making a new one
changing graphics from 'automatic' but it's disabled and unclickable
I've tried both solution on here and both doesn't work either.
Sometimes the Android Studio emulator does not work.
It is better to use similar software like GenieMotion along with the emulator.
In general, my suggestion is to migrate from Windows to Linux, Linux does not have many problems and your emulator works most of the time.
But be sure to use other emulators and don't limit yourself to your Android Studio emulator

Android Studio Bumblebee emulator problem

I'm using M1 MacBook Pro. I recently upgraded Android Studio to Android Studio Bumblebee.
When I want to run the emulator, it's just loading. I deleted virtual devices and reinstalled but the same thing happend again and again. What can I do?
I had a problem, too. And I got solved.
Solution.
Preferences - Tools - Emulator - Launch in a window option try unchecked.
refer to link : https://github.com/google/android-emulator-m1-preview/issues/76#issuecomment-1023563846
Have a good day.
example image description here
I checked for "intel virtualization technology" in my PC OS BIOS and just enable it...and emulator starts working.

Android Studio [BumbleBee 2021.1.1] Emulator Timeout on Mac M1

I have Android Studio BumbleBee 2021.1.1 downloaded, running on a MacBook Pro M1. When downloading Android Studio, I chose the Apple Chip option (opposed to Intel)
I've created a Virtual Device - Android 12.0 arm64-v8a Pixel 4.
When I attempt to run the emulator it gets stuck here
Then, it times out:
I have searched SO and other blogs and can only find outdated material based on a time in 2020/2021 when Android did not support ARM64. However, it's my understanding that this has now changed so https://github.com/google/android-emulator-m1-preview is no longer needed.
What is the correct way to run the Android Emulator on a Mac with an M1 Chip?
I have found the issue so marking this as solved, however, if anyone knows why this solves the problem, please share!
I found an issue opened on Google's anroid-emulator-m1-preview repo with this answer https://github.com/google/android-emulator-m1-preview/issues/76#issuecomment-1023563846
Turns out, I just needed to uncheck 'Launch in a tool window' but again, not sure why that fixed the issue.

Android Studio 4.0 doesn't recognize any previous virtual devices

First post--be gentle. Can't find any posts on Android Studio 4.0, so I hope this isn't a repeat. I updated Android Studio from 3.6.3 to 4.0 on Windows 10 (1909). Had created a couple of virtual devices in 3.6.3 (a Pixel 2 running API 28 and a Pixel 3 running API 29)--both worked great in AS-3.6.3 and I could develop apps, compile, load, and run them with no problem.
After the update to AS-4.0, the virtual devices no longer appear in the devices box at the top of the GUI--it just says "No Devices". When I open the AVD Manager, I can see them, and I can start them (although when I start them I get a pop-up saying "AVD Manager: Unable to locate adb"), but I can't get any code to download and execute on it. On the Pixel 3 emulator, I also get another pop-up saying "Detected ADB: Could not automatically detect an ADB binary.", and it gives instructions to resolve it, which don't make any difference (jump into extended controls and toggle "Use detected ADB location").
When I try to open a past project and run it, I get the same behavior--no devices found.
I've also tried making new emulators, hoping the new setup would recognize them, but to no avail. Tried starting and restarting AS, as well as the computer, also to no avail. I have Android SDK Build-Tools 30-rc4, the latest Android SDK Command-line Tools, Android Emulator 30.0.12 Android SDK Platform-Tools 30.0.1, and the Intel x86 Emulator Accelerator all installed.
I've Googled and spoken words of fierce power over this for several days now. Any suggestions for how to get AS-4.0 to recognize the emulators? I've resisted uninstalling everything and starting over--was hoping it was just a configuration thing.
Thanks in advance,
Uber
After some more Googling, I found the answer here (I think my constraint of wanting an answer for AS-4.0 specifically kept me from finding it):
Could not automatically detect an ADB binary - Android Studio
I had to redownload the SDK platform-tools zip file and reinstall it. I don't know why the old one got messed up with the migration from AS-3.6.3 to 4.0, but there you go--such is life with complicated software.
As soon as I replaced the old platform-tools directory with the new one, all my old emulators showed up and I was back in business.
Thanks anyway!
Uber

Android studio wont start and causes memory leaks

My studio works just fine until today. I dont installed any drivers or updates in past. Android studio just wont start and it causes memory leaks. Normally when starting studio it tooks about 400-500K MB but today about 2+GB. ! Does anybody know solution for this problem? I have tried restart computer, recovery system data from past, i have android 0.8.9 so i tried install new version 0.8.11 of android studio nothing works. Iam desperate...

Resources