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 Build a Simple Android App (2014) Getting Started with Android Running the Fun Facts Project

I can't run the project template....... error messages

I get this error message:

emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAX kernel module is not installed!

I also get a message that says:

Rendering problems

The following classes could not be instantiated:

  • android.support.v7.internal.widget.ActionBarOverlayLayout

What should I do?

1 Answer

Hello,

These are two seperate problems.

For the HAXM problem, if you have an Intel CPU capable of HAXM acceleration, please make sure virtualization is enabled in your bios and then follow these instructions for Windows or these instructions for OSX. If you're running Linux, congratulations, it should just work with virtualization enabled.

If you have an AMD CPU, you should be able to get something running with Linux, not sure about Windows or OSX. If you do fall into this bucket, I'd recommend trying Genymotion. However, if you are going to try to use the default emulator in this case, make sure you're not running an x86 image and instead you're running an ARM image for your emulator.

For the ActionBarOverlayLayout issue, could you try prepending the string "Base." (note the dot there) before the rest of your AppTheme in your styles.xml file? You can use this stackoverflow post as reference.

If you need further assistance, please let me know and I will try to help further.