I have a question that looks quite complicated. I need to setup a complete development environment for Android in a virtual machine. I mean, create a virtual machine (player is Virtualbox last version) with Windows 8.1 as guest os.
In this vm, I installed Android Studio which works quite well. My problem is in running any android virtual device. I know I can't run x86 based emulator because I can't disable hyper-v, but I read somewhere that is should be possible to run arm based emulator (even if they are very slower). In fact, I can create and start an emulator, but it stuck with a blank screen, nothing happens and, of course, I can't deploy any application.
My question is:
1. Is it possible to run an AVD in a virtual machine?
2. My virtual machine has a memory of 2GB, maybe this isn't enough for running the AVD?
Thank you in advance
Related
I have a Windows PC with an AMD CPU in which I run VMM Virtual Box with a Windows VM in which I need to launch an AVD from Android Studio.
I don't need an Android VM to run in Virtual Box, Android must run in a nested virtual environment, inside a Windows VM in which the AVD runs.
Since I know that from Virtual Box version 6.1 there's the possibility to have nested virtualization I thought that just enabling it in the system settings would have been enough, but in facts when launching the AVD it just creates the smartphone silhouette, with a black screen which doesn't respond to any input. Here's how it looks
Starting the AVD these two issues comes out, does anyone know how can I solve these? Error 1
Error 2
I need these two level of emulation because I need a repeatable environment to test my software along with Android. Does Anyone have suggestion?
PS: the AVD works fine in the host Windows OS, it's just the guest OS that seem unable to launch the android environment.
I know that it's not at all a good way of testing and performance are really bad, but what I need is a repeatable environment for the validation phase of a thesis. My code is a Java program that use Appium to connect my application to AVD; since I can't configure the Appium server, the AVD and my configuration parameter in each tester's machine, I'd like to use a VM to be run once per computer.
I have a MacBook Pro running bootcamp with windows 7 on it, and I am trying to run a MEmu android emulator on a VMware windows 10 VM (all inside my bootcamp partition). The reason for this is id like to have a sandbox keeping my data private and separate from my bootcamp partition while using the emulator.
MEmu downloads, and installs fine but then gets stuck at 99% infinitely while setting up the emulator. I have been searching the web for quite some time now looking for anything that might give me some insight on how to do this or why this isn't possible and have found nothing.
I have tried installing VMware tools to try and match the graphics requirements, and I have edited my VMs settings so that its configured to run with VT-x/AMD-V enabled. Is there any other way I can make this work?
Wont work because memu is a virtual machine. Memu actually uses a hacked version of virtualbox.
We are working remotely on client's virtual machine. I keep getting the VT-X/disabling hyper-V error even after doing the needful.
So, my question is , is it possible to run emulator, which is itself a VM on another VM?
If not, suggest a way to work around this problem.
Thanks in advance
is it possible to run android emulator on client's virtual machine?
I think the problem is not you are working remotely on client's virtual machine, the problem is that your Physical machines turn on the Windows feature : Hyper-V, but when you run an Android Emulator, it needs to disabling the Hyper-V, so it gives the VT-X/disabling hyper-V error.
I have test working remotely on client's virtual machine and turn on the Hyper-V. When I run an Android emulator from Android Studio, it failed and gives me the error message :
To solve this problem, you should turn off your hyper-v and restart the computer. If you cant do this, you could try using Visual Studio Emulator for Android. As the document said :
with Hyper-V compatibility you can run the emulator side-by-side with the Windows Phone Emulator and other Hyper-V VMs
Then, you could run the Android emulator.
I don't know about what happens in a VM.
But, emulator is not possible in nested VM. I found that out while installing android studio when I got the error message explaining the same.
Regarding working emulator with VM, we can go with #Grace Feng
So I have Android Studios in a virtual box running mint. Do I need to install virtualbox to run genymotion in the original virtualbox or is there a work around? As of right now when I install genymotion it tells me it couldn't find the path of the virtualbox, which makes sense since it is in the virtualbox. Anyone else try and succeed at doing this?
Thanks
Ofcourse it needs another virtual box. Think of it as you are running mint in a virtual box container, now to run the gennymotion emulators you need to install the virtual box, but this is very tideous are bad idea, it is recomended that you do a full OS install.
Your performance of the machine will be sluggish since you are trying to run a OS indside an OS(The resoruces wil be lesser to be used vs a fully installed OS)
You can use Oracle VM VirtualBox
Can anyone suggest the way to improve the speed of Android Emulator (AVD) run in Ubuntu 14.04 inside Virtual Machine (VMWare Workstation). It's too slow happened to wait around a hour but with vain it still got loaded, but the home screen didn't turn up.
Is there any technique/trick to speed up the same via some configuration changes either in Ubuntu or with virtual machine settings.
Did you install it with the default settings? If so, you probably need to add some RAM and processor/cores. It worked for me.
You can try this https://www.genymotion.com instead of default emulator