0

The lay-out of this simple Android Studio project ("Hello World") is not rendering, neither in "Design" or "Blueprint" view. At the bottom of the screenshot you see the error message. Can anyone solve this problem? enter image description here

Steven
  • 289
  • 2
  • 5
  • 14

1 Answers1

0

This same problem bugged me for awhile but stack overflow has the same question answered it just depends on how you search it.

By searching the "Failed to load AppCompat…" you get a great answer in the following thread.

Failed to load AppCompat ActionBar with unknown error in android studio

Basically Go To res/values/styles.xml then change the...

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

to

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

*Notice the "Base." in front of Theme.

Jay
  • 1
  • 2