Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Whenever I run my program I get this error : emulator: ERROR: x86 emulation currently requires hardware acceleration!

I do not understand the error. Please help me to find a solution to this. I'm using the latest Android Studio 1.1

2 Answers

Are you using Genymotion?

You may find Genymotion better to use as an emulator(see the course for it). At the moment it seems you may have hardware/ driver incompatibilities.

okay thanks !

Hi Shubham, You actually need to enable Hardware Acceleration for your application via the android Manifest file. Simply add android:hardwareAccelerated="true" to the application tag like this:

<application android:hardwareAccelerated="true" >

Check out this link for more information on Hardware Acceleration for Android.

This statement was added to the Manifest file, but the Hardware Acceleration error still exists. Creating a new device using the arm type cpu instead of the x86 is a work around that worked for me...

Well not really, the emulator slowly opens to a black outline with sparkling logo. Searching for a hardware fix, not found in android-sdk ?!?