Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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).