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) Creating the Screen Layout Getting to Know Our Tools

Bryan Ingwersen
Bryan Ingwersen
214 Points

Android studios encountered a rendering problem because a class could not be found.

The class android.support.v7.internal.widget.ActionBarOverlayLayou could not be found so Android Studios can't render the phone image on the right hand side of the app.

1 Answer

Hello,

There are a few things that could fix your issue.

1) You could set your theme to something like Holo.light.
2) You could make sure you have installed the Support Library in the SDK manager and have a line simiar to "compile 'com.android.support:appcompat-v7:19.1.+'"(appropiate to whatever version of the support library you are using) in your build.gradle file. For more information on this see this stackoverflow article.

If neither of these fix your issue, we can try some more troubleshooting methods, but would be easier if you post your code and xml(better if you can put the project on Github).