Error message when trying to change theme

0 richard Stephen · October 16, 2015
Hello All.

i get this error message anytime i try to change my theme , please how do i resolve this?

Post a Reply


- page 2
Oldest  Newest  Rating
0 Niko Badjar · October 21, 2015
This happens to me as well. Really frustrating, don't know what's causing it.
0 Gary Whitney · October 22, 2015
There are many things that can cause the rendering error message.
Sometimes I get it on a new activity and switch to Text mode then back to Design mode and it's gone.

I don't think yours is so simple. The error is definitely telling you that you need to use an AppCompat Theme, and something about AppBarLayout..

I read somewhere that Material changed the way the ActionBar looks and what it doesn't support.

To better understand your problem
I started a new project ans switched themes (using the icon in Design mode) no problem.
So I am wondering what you are doing different. Do you get the problem if you start a new project with min API16?
Android is constantly evolving and things become depreciated.
* Are you trying to follow and old example that changes the type of Activity?.
* Is your min API using features not supported by Material?

Here are some places to look at for clues.
1. What is your min API?
2. What is your activity.?
Try -  public class MainActivity extends AppCompatActivity {
3.Check your style
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->

Hope this helps.
0 Stefan Mostert · October 22, 2015
I am experiencing the same problem...
  • 1
  • 2

Java / Android Development


Very popular language used to create desktop applications, website applets, and Android apps.

Bucky Roberts Administrator