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

Help with android layout error!

I get this when i open the layout of my app: Rendering Problems The following classes could not be instantiated: - android.support.v7.internal.app.WindowDecorActionBar (Open Class, Show Exception, Clear Cache) Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE Exception Details java.lang.NoSuchMethodException: android.support.v7.internal.app.WindowDecorActionBar.<init>(android.view.View)   at java.lang.Class.getConstructor0(Class.java:2892)   at java.lang.Class.getConstructor(Class.java:1723)   at com.android.layoutlib.bridge.bars.AppCompatActionBar.<init>(AppCompatActionBar.java:73)   at com.android.layoutlib.bridge.impl.Layout.createActionBar(Layout.java:237)   at com.android.layoutlib.bridge.impl.Layout.<init>(Layout.java:151)

Scott Junner
Scott Junner
9,010 Points

Post and format the code you think is causing the problem. That will help us help you. Use the Markdown Cheatsheet linked below the posting frame to help you format the code.