Trouble running emulator in android studio - android-emulator

I am unable to run the emulator in android studio. I received a "Your cpu does not support required features (VT-x or SVM)" message. Someone told me to try and do what this link states "http://www.howtogeek.com/213795/how-to-enable-intel-vt-x-in-your-computers-bios-or-uefi-firmware/" which led me to a video and I tried following those directions but was unable to because first, there was no HyperV feature in the Windows features section. Second, there was no UEFI Firmware settings icon when I went to advanced settings in set up. How can I proceed from here to enable the VT-x in order for me to be able to use the emulator in Android studios? Thank you so much!!

Okay your cpu does not support is not the same as cannot use emulator you just have to use one that runs x86 images which is in fact GenyMotion...
https://www.genymotion.com/
sign up for free account and when you download you want the full install package with virtualbox included.
and it does support instantrun just like the google android emulators do
You will also find the android studio genymotion plugin at the same site to download and use with android studiio

Related

setup nox (or genymotion )as android emulator for vscode flutter

for some reason, I don't want to install android studio(one of them is I don't have enough space for now) but instead, I want to work with vscode and nox(or genymotion). and my question is: Is it possible to connect vscode and an (android and ios) emulator to see the result? in other words, I want to connect the nox as an emulator to vscode and see the result inside of it.
Android studio take too much space and even my computer also become hot when open Android studio. But what I did I installed Android studio and Android emulator but I don't use Android studio rather I use VScode.
So as far as I know you need Android studio to install emulator then you can use VScode with it.
Finally, I found out how I can connect Genymotion to the VS Code(without Installing Android Studio).in total SDK manager wasn't installed on my laptop, so at first, I installed it. and then
Platform Tools (ADB & Fastboot)
Install Platform
Add System Image
Install Build Tools
but wait I just name the steps I've done. you can follow this article on this link to get more details.
and finally, instead of installing an emulator, I used Genymotion with Flutter in VS Code, which you can follow in this article to get more information. Click here

Visual Studio Code - Flutter : "Device emulator-5554 is offline"

I have just spent an hour reading through similar questions on Stack Overflow, and they are all for Android Studio, not Visual Studio Code. Also, I am doing Flutter development, so don't have access to adb commands, such as adb kill-server.
Everything was fine, unlike I clicked the power button on my emulated Android. Now, when I run/start debug and select active device, I get Failed to launch Nexus 5X API 29 x86: Error: Emulator didn't connect within 60 seconds.
How can I restart the emulated device? When it appears, clicking the power button does not seem to do anything. Is there a flutter terminal command?
Or can I somehow use a different emulator (if so, how)?
I faced the same issue with Android Virtual Device and Memu emulator so I switched to Genymotion.
I am using Genymotion personal edition which works amazingly and it's very light on resources too as compared to AVD and Memu.
You can download Genymotion Personal edition from Genymotion Personal Edition
Apart from Installing emulator Image you should also consider installing the GAPPS bundle in the emulator as it does not comes with it preinstalled. GAPPS will be needed in many apps requiring Google Play Services.
Here are the docs on how to install GAPPS in Genymotion emulator: GAAPS Docs
GAAPS Website
My Genymotion Emulator is Google Pixel 3a, 9.0 API 28.

Android Emulator claims “WHPX is not configured”, crashes

The Android Emulator launched from Visual Studio 2019 for Xamarin development throws this message before launching:
WHPX is not configured
Turn on "Windows Hypervisor Platform" feature to switch to the Native Hypervisor and accelerate your emulator.
This is despite that Hyper-V is installed, according to the Microsoft documentation.
This is possibly related to the Emulator crashing after some time with no error message, or displaying this when launched from the Android Device Manager:
Please check if you can update your video driver.
If it doesn't help, try to Edit the AVD and set "hw.gpu.mode=off".
This is on a machine that used to run the emulator previously, just a fresh installation of Windows.
The error message is actually correct. On newer versions of Windows, “Windows Hypervisor Platform” (WHPX) is a separate feature on the Windows Features list.
Even the Microsoft docs have been updated to mention this. (Though it wasn't there when I was dealing with this problem and spent way too much time on it, sigh.)

How create android emulator without android studio?

Android Studio 3.2.
I create 2 emulators by Android Studio. Nice.
But the question is:
Is it possible to create android emulator WITHOUT Android Studio?
Our QA need to use emulators for test our applications. But it not need Android Studio.
How QA can create android emulator without Android Studio?
There are a lot of 3th party emulators out there, which are quite easy to use and fast to set up. Just have a quick look in your favorite search engine. But here is a short list of better known ones:
BlueStacks
Genymotion
Nox App Player
MeMu
ARChon
KoPlayer
They should all be able to run your app on a pc to show someone. Have a look on them and inform yourself about the licensing and features.
1 - Download Java JDK from the following link and install: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
2 - Download the Android SDK from the following link and install: https://android-sdk.uptodown.com/windows/descargar
3 - Download Intel HAXM from the following link and install: https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-intel-haxm
4 - Start the SDK Manager, install the tools and platforms you need.
5 - Start AVD Manager and create new emulator.
Yes, we can setup Android Emulator without installing Android Studio. We have to download commandline-tools and use sdkmanager, avdmanager, emulator tools to make an emulator and run it.
Ref:-
https://stackoverflow.com/a/65537217/11620356
https://stackoverflow.com/a/65563126/11620356

Eclipse program not working

Hello I'm creating an Android project using Eclipse the emulator is very slow I tried using the emulator through my phone but it still wont work I have a Kyocera Event and android 4.0
software anyone have any suggestions on how to fix this problem so I can run the emulator through my phone?
Try to use HAXM if you have an Intel processor and a different image of the system rather than ARM. I had similar problem with debugging using my tablet, I would highly recommend HAXM.
Did you enable USB Debugging in your phone settings? And check SDK Manager - Extra - Google USB Driver
I have been using real devices to test my apps, and if you dont know, your device might not be recognized by your IDE even though it is picked up by your computer. The solution, first, click http://developer.android.com/tools/extras/oem-usb.html
scroll down to the bottom, locate the manufaturer of your phone and download the appropriate driver for your device, install it, then, you need to open the "SDK Manager" to download the system images for the platforms you want to test against, you might need to download the "Google USB Driver" in the "Extras" section in "SDK Manager". Or if you want an emulator that is as fast as a real device, consider "Geny Motion", pretty easy to install. You can search for "Geny Motion" through google, shoule be able to see it the first result. Hope this helps.