Running Virtual Device Emulator on Ubuntu in Virtual Box - Android Studio

Hello everyone,
I am running Anroid Studios 3.1.2 on ubuntu which is running within a virtual machine (oracle virtual box). If I want to create a virtual device emulator, i get the following massage:
"Recommendation: Your CPU does not support required features VT-x or SVM)".
I can create a device but it is not running. In the virtual box setting VT-x is enabled.
Is it possible to run an emulator in a virtual machine? I found some sources saying that it is maybe not possible?
Thanks and regards,
TensorDev

Related

[Q] Can I use Windows 8 in a virtual machine?

Can I use Windows 8 in a virtual machine?If yes then how it is possible?suggest
alvachristi said:
Can I use Windows 8 in a virtual machine?If yes then how it is possible?suggest
Click to expand...
Click to collapse
Which operation system do you want to run the VM on?
Currently as I know, if you are using windows operation system, you can use VMWare Workstation or Oracle VirtualBox.
If you are using mac OS, you can use Parallels Desktop.
Are you asking about Win8 or WP8? Because this is a Windows Phone forum...
Aside from the "emulator" included with the SDK - which is actually a Hyper-V-based x86 virtual machine - you can't run WP8 in a VM to the best of my knowledge. The emulator works pretty well for the limited number of things it does, though.

[Q] AVD Manager in Centos & KVM

Hi,
Can we install KVM in a centos VM (running using VM Ware Player)`
I have installed Android Studio in cent os 6 (its a VM).I have also installed kvm.
But when I run the AVD Manager I get a error that the file /dev/kvm is missing.
Thanks,
Baahu

Disable KVM acceleration?

I have a VirtualBox running, and for running Android Studio emulator I'm either getting ioctl(KVM_CREATE_VM) failed: Device or resource busy or (upon unloading KVM modules) KVM is required to run this AVD.
I don't want to swap VB with QEMU (at least not now), and for my current purposes I'm fine with unaccelerated emulation for x86 Android. So how do I disable acceleration?
One way I see is probably to download an ARM, so acceleration wouldn't be possible for x86 host, but it's an inelegant solution for different reasons.
Downgrade to Android Studio 1.4 (delete Android Studio 1.5 installation, download zip from http://tools.android.com/download/studio/builds/1-4-0, follow installation instructions).
Follow Stuart Axon's instructions above.
Gabor as far as I can tell is correct (and addresses the OP's question) - the option to use this acceleration by starting the emulator from within Android Studio 1.5 has been removed.
(Weirdly, I don't seem to be able access the acceleration when starting the emulator from the command line once Android Studio 1.5 has been installed - but maybe I'm wrong. Hopefully if I'm wrong someone who knows better will give an answer rather than just leaping at the chance to down vote. Glory to the downvote! Surely there should be badges for down voting: Gold 'downvoted 500 first questions', silver 'downvoted a question to -100', bronze 'downvoted a novice user into resigning'.)

What linux could I install on my Mi8?

What linux version could I install on my Mi8?
What method would be advisable?
In the past some people has installed Linux on their smartphones, but only some devices are compatible.
I would like to try Linux on my Mi8, it's powerful enough and that would let me use many advanced programs for science not available for Android.
Just use Linux Deploy(u need root rights). You can choose you district and install it. To access you would setup ssh in the settings. Then download a ssh client and connected to local host. All done
Nailyouh said:
Just use Linux Deploy(u need root rights). You can choose you district and install it. To access you would setup ssh in the settings. Then download a ssh client and connected to local host. All done
Click to expand...
Click to collapse
But I don't want to run linux virtualized on top of Android, I want to replace it completly.
There is also Ubuntu Touch.
Which one works better?
Well as Linux shares the kernel with android you have no performance lost when using Linux Deploy. Replacing the OS will not be possible.
(You can also try the integrated Framebuffer display...then you would have a linux desktop. Hook up a keyboard and a mouse and youre good to go)
Nailyouh said:
Well as Linux shares the kernel with android you have no performance lost when using Linux Deploy. Replacing the OS will not be possible.
(You can also try the integrated Framebuffer display...then you would have a linux desktop. Hook up a keyboard and a mouse and youre good to go)
Click to expand...
Click to collapse
In fact it doesn't replace the whole kernel, just a small part of it. And most things on Android are run on a Java Virtual Machine.
skanskan said:
In fact it doesn't replace the whole kernel, just a small part of it. And most things on Android are run on a Java Virtual Machine.
Click to expand...
Click to collapse
Do you have an example? Like a device where it is running like you described?

AVD stopped working on AMD Ryzen

So i used to be able to run AVDs just fine using the hypervisor driver on my Ryzen machine. But recently i needed to install a VM in Virtualbox ,so what i did was disable hyper-v , but unfortunately now android studio says Intel HAXM is required. I deleted virtualbox, re enabled hyper-v but to no result . i ended up disabling hyper-v again but still i have no idea what to try next.

Categories

Resources