App not starting on Android Studio emulator - android-studio

I'm using Android Studio on a Windows 10, and I'm trying to run an app I created. The emulator starts up with a black screen and then the word android pops up, but then nothing happens. I know other people have posted about this topic, but none of the solutions work. I don't have an actual phone, so I can't plug it into a real phone. What should I do here? Thanks in advance.

Try this
https://www.genymotion.com/#!/
It's a much better emulator than what comes with Android Studio, and it should work. In fact, Google even has plug ins for it because they even admit it's much better.

Related

Problem with Android Studio emulator, keep missing (maybe crashing)

I tried to find some solution on StackOverflow but seems like there is no similar problem, I am new to android studio development. The emulator keeps missing after running for a while or I click a few things on the emulator or in my own built application. It is like a crash but does not show any crash messages, the emulator will directly go missing and show this picture below. May I know what's the problem? I tried the solution of wiping all the data on the virtual device, still had the problem
Problem with the emulator
The issue is still not solved yet, but I decided to use React Native with the android studio emulator, it works without crashing.

Android Studio Emulator no more considering Swipes on Notebook Touchscreens as Input

I upgraded to Android Studio Bumblebee 2021.1.1 and realized that I cannot fully control the emulator with the touchscreen of my notebook anymore. Press events on the touchscreen (like mouse clicks) are still recognized correctly, but when I swipe nothing happens in the emulator.
Unfortunately, I did not note down the previous version of Android Studio that I had installed before, but with previous Android Studio versions I was always able to fully control the Android emulator via the touchscreen (as if I was actually testing my app on a real mobile phone).
My Google searches did not show any results related to this issue. Does anyone have an idea what the root cause could be and if it is possible to fix it?
Disabling launch in tool window in Settings::Tools::Emulator fixed it for me (requires emulator restart to take effect).
Credits to YuriBlaise on reddit

Screen Capture on Android Studio Emulator

I'm trying to screenshot on an Android Studio Emulator Pixel 4 XL API 30,
but whenever I try to take one, the Emulator ends itself.
And then I get the message "Lost connection to Device".
Could anyone tell me if there is a way to solve this problem?
__
I tried changing the saved folder, and restarting the emulator
I can't seem to reproduce the error.
But try the obvious: a cold boot of the emulator, and if all else fails, create a whole new emulated device. I frequently encounter weird bugs in the emulator that I solve with a hard reset.
This may be of use to you as well:
Taking screenshot on Emulator from Android Studio

emulator not showing up on 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)?

Android studio doesn't launch in Elementary OS (Freya)

Alright, so yesterday I was writing code in Android studio, and when I saw that the autocomplete function wasn't working properly, I did the "Invalidate and Restart" function, that closed the Android Studio. And now, when I try to start Android Studio, simply nothing happens, I can spam the shortcut like crazy, nothing pops up, nothing. I was working on a project so I really need this fixed ASAP, but Google offers no clues.
I'd really appreciate any clues or fixes.
Ended up reinstalling the OS after running into some more issues with removing and reinstalling the Studio a couple of times.

Resources