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 Editing a Layout File

the Design tab is showing some error. Cannot see the model of the mobile there.What do i do ?

I was not able to view Emulator also. So am using Genymotion now. Please help.

this is the error shown:

Rendering Problems The following classes could not be instantiated: -Β android.support.v7.internal.widget.ActionBarOverlayLayout (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.ClassNotFoundException: android.support.v4.view.ViewPropertyAnimatorListener Copy stack to clipboard

1 Answer

Hello,

According to this stackoverflow posting, you can fix this by redefining your theme in res/values/styles.xml to have "Base." prepended to it. So that would look close to

<style name="AppTheme" parent="Base.Theme.FILL_IN_WITH_YOUR_THEME_INFO">
    <!-- could be stuff here -->
</style>

Please let us know if this helps and/or if you need more assistance.

Thank you James!

I had this same issue and the only thing I had to do was to add 'Base' before the .Theme in the file you mentioned.