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

Bahi Hussien
PLUS
Bahi Hussien
Courses Plus Student 13,128 Points

Unknown Error : palette: Failed to find style 'switchStyle' in current theme

My Project is not Working and shows that error - palette: Failed to find style 'switchStyle' in current theme

Error 1 : palette: Failed to find style 'switchStyle' in current theme

Error 2: java.lang.NullPointerException

Bahi Hussien
Bahi Hussien
Courses Plus Student 13,128 Points

yea as the tutorial said .. ! but thank you i have removed the style and it is working now.

1 Answer

Sounds like you switched the style and it can't be found. Did you switch it in the manifest?