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 trialGerd Hirschmann
2,369 PointsRendering 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
2 Answers
Stephen Little
8,312 PointsTo 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
1,071 PointsThis fixed worked for me! Thank you very much
mohamedmoussa
6,739 PointsThe answer to this stackoverflow question seems to be what you want: http://stackoverflow.com/questions/24109260/rendering-problems-missing-styles-after-every-update
Stephen Little
8,312 PointsStephen Little
8,312 PointsI 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?