Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hardware acceleration for Android Studio not working

I'm on a Hp dm4 Intel Core i5 machine with Windows 7. My Android Studio gives me the following error when I compile my application.

enter image description here

After some Googling I found that I have to install Intel Hardware Accelerated Executed Manager that comes with Android SDK. But when I try to do that I get this error.

enter image description here

Does this somehow relate to Hardware Virtualization? I already have it enabled from the BIOS.

enter image description here

I don't understand what the problem is. Please help!

EDIT: I downloaded the Windows Hardware-Assisted Virtualization Detection Toolfrom the Microsoft website and it says everything is fine. This is crazy!

enter image description here

like image 215
CobaltBabyBear Avatar asked Jun 20 '15 20:06

CobaltBabyBear


People also ask

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.

Should I turn on hardware acceleration Android?

Use cases for hardware acceleration range from efficiently rendering audio-visual content to text smoothening. It can also speed up 2D/3D graphics and UI animations. In a nutshell, if you're ever presented with the option, you should enable hardware acceleration — unless it causes some fault or bug.

How do I enable hardware acceleration?

If you're looking to enable—or re-enable—hardware acceleration, head back to chrome://settings/system and toggle “Use hardware acceleration when available” setting to the “On” position. Then, click “Relaunch” to apply the change.

Why my AVD is not working?

In case you get an error like "Intel virtualization technology (vt,vt-x) is not enabled". Go to your BIOS settings and enable Hardware Virtualization. 3) Restart Android Studio and then try to start the AVD again.


1 Answers

It involves two steps:

  1. enabling virtualization technology : I supposed you did it right.
  2. disabling hyper-V : For this , please refer the below video link:

disabling hyper-v

If it doesn't work out please follow the blog mentioned below.

https://software.intel.com/en-us/forums/topic/518041

like image 71
sach Avatar answered Oct 16 '22 18:10

sach