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 Creating the Fun Facts Project

Gerd Hirschmann
Gerd Hirschmann
2,369 Points

Rendering Problems (Android Studio 1.0.2 OSX)

Hi Ben (or anyone else who has a solution) :)

I watched your video and tried to open up a new project for the FunFacts App. I updated my Android Studio to 1.0.2 on my Mac and after I press "finish" I got that error:

"Rendering Problems Missing styles. Is the correct theme chosen for this layout? Use the Theme combo box above the layout to choose a different layout, or fix the theme style references.

Failed to find style 'textViewStyle' in current theme. (4 similar errors not shown)"

When I open the mentioned "Theme Box above" I can select a Theme from Material Dark, Holo light or anything else. Which one should I take or does this not matter at all?

Thanks for your help, so far great videos here!

cheers

Stephen Little
Stephen Little
8,312 Points

I too am getting this error, surprised that nobody has posted an answer. Did you figure it out or did you just go with another theme?

2 Answers

Stephen Little
Stephen Little
8,312 Points

To fix this I opened up the styles.xml file and change the line of code

<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">

to

<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">

seem to fix it for that theme, hope that helps.... cheers! Stephen

Darren Fisher
Darren Fisher
1,071 Points

This fixed worked for me! Thank you very much

The answer to this stackoverflow question seems to be what you want: http://stackoverflow.com/questions/24109260/rendering-problems-missing-styles-after-every-update