Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Virtual Machine Acceleration for Android Emulator [closed]

I'm attempting to configure the new Android Virtual Machine Acceleration.

I'm following the steps outlined here. I get to the point where I need to execute:

<sdk>/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.exe.

When I try and run the installer for this, it fails and says "VT not present: Your Computer does not meet the minimum requirements for this software".

I assume this is because I have an AMD cpu, and the required virtualization extensions isnt available.

So my question is, is there other software for AMD that i can use to get this to work? The android dev site doesnt seem to have any information on AMD, other than mentioning "AMD Virtualization (AMD-V, SVM) extensions (only supported for Linux)" is supported. I don't see why they would only support Linux?

I'm keen on getting the android emulator feeling quicker.

like image 556
Marty Avatar asked Mar 22 '12 13:03

Marty


People also ask

How do I enable GPU acceleration on Android?

Go back to Settings, scroll down and you should be able to see a new option called Developer options. Tap on it. Scroll down to the Hardware accelerated rendering and enable the toggle next to Force GPU rendering.

Why does my Android emulator keep crashing?

Checking for adequate disk space To avoid crashes and hangs caused by not having enough free disk space, the emulator checks for sufficient free disk space on startup, and will not start unless at least 2 GB is free. If the emulator fails to start for you, check to see that you have adequate free disk space.


2 Answers

I know it's a year later, but I had a similar problem. I'm posting this here because late last year AMD posted a free downloadable Android app player.

This (sort-of) solves the problem for people using AMD cpu's for android development.

I've been using it for development instead of the ADT Emulator (along with my own Android phone -- it give me another target to check).

AMD Appzone Downloading any game or app will also install the app player. go to the 'My Apps' button at the top and you will see your app.

The app player shows up in the ADT as "samsung-gt_i9100-localhost:5555" see screenshot. This shows my phone (first one in the list) and the AppPlayer:

enter image description here

like image 117
Alan Avatar answered Sep 28 '22 08:09

Alan


The thing is, AMD basically has those exact features in their processors - only it's called something different. I guess what we really need is an equivalent driver made for AMD processors. The Intel driver is obviously looking for exactly the string "VT-x" and not seeing it since it's called something different on AMD's processors. Doubtless not an accident.

like image 42
Anonymous Avatar answered Sep 28 '22 08:09

Anonymous