2

I have just installed android studio and the following errors have just emerged on my xml layout file

The following classes could not be found:
-android.support.v7.app.WindowDecorActionBar
-android.support.v7.widget.ActionBarContainer
-android.support.v7.widget.ActionBarContextView
-android.support.v7.widget.ActionBarOverlayLayout
-android.support.v7.widget.ContentFrameLayout
-android.support.v7.widget.Toolbar

How do I remove these errors??

lorrainemutheu
  • 115
  • 1
  • 17

1 Answers1

1

I just found the solution to the problem...

Go to styles.xml in values folder and change:

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

To:

<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
lorrainemutheu
  • 115
  • 1
  • 17
  • However, the name of the app is not showing on the action bar and I would still like it to show.Somebody help here please... – lorrainemutheu Jul 14 '16 at 19:55