Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio KVM Setting?

Put in KVM (Kernel-based Virtual Machine) into my 64 bit Ubuntu 14.04 LTS per: https://help.ubuntu.com/community/KVM/Installation

In the terminal:

kvm-ok INFO: /dev/kvm exists KVM acceleration can be used

OK so the KVM is in.

When I run the Android Emulator there is no change from the way the Emulator ran before I put in the KVM.

I've looked in to the various settings within Android Studio, and I found nothing obvious about KVM.

Does Android Studio have a setting somewhere to enable KVM?

like image 417
mark_97 Avatar asked May 29 '15 17:05

mark_97


People also ask

Is Android Studio Using KVM?

Android Studio 1.5 and 2.0 do not have such option any more. Update: that is because the team has made KVM mandatory. And see comments from Google employees claiming that their new 2.0 emulator is also KVM-based.

How do I know if my Android emulator is using KVM?

You can use the emulator -accel-check command-line option to check whether you have KVM installed. Alternatively, you can install the cpu-checker package containing the kvm-ok command.

How do I enable hardware acceleration on my Android?

Hardware acceleration is enabled by default if your Target API level is >=14, but can also be explicitly enabled. If your application uses only standard views and Drawable s, turning it on globally should not cause any adverse drawing effects.


1 Answers

Android Studio 1.5 and 2.0 do not have such option any more.

Update: that is because the team has made KVM mandatory. And see comments from Google employees claiming that their new 2.0 emulator is also KVM-based.

like image 174
Gabor Avatar answered Sep 20 '22 12:09

Gabor