Actionbar expiration problem

XML reports an error. This is what happens when nothing moves

Rendering Problems The following classes could not be found: 
android.support.v7.internal.app.WindowDecorActionBar 
(Fix Build Path, Create Class)    
Tip: Try to build the project.

Find a solution on stackoverflow: actionbar not found

Method 1

The Actionbar has been deprecated and replaced by Toolbar. That being said, you can do the following if you want to continue using Actionbar for now:    
   1.Open styles.xml in the values folder inside the res folder.
   2.Add the word Base to the beginning of the theme name so that it reads "Base.Theme.AppCompat.Light.DarkActionBar"
    I had the same issue today and this solution worked for me. FYI I am in Android Studio though, but hopefully the solution is similar for Eclipse.
   FYI here is a decent blog post on replacing the Actionbar with the Toolbar for when you are ready to do so: ...

If you want to use the actionbar in a higher version, you need to:
1. Open styles. XML
2. Change the basetheme to “base. Theme. Appcompat. Light. Darkactionbar”
?About the toolbar welcome reading: advanced reading of the toolbar

Method 2

    I think you must be depending on "com.android.support:appcompat-v7:23.1.1" in your module settings.
    ActionBar has been deprecated.
Just change your dependencies from 'com.android.support:appcompat-v7:23.1.1' to 'com.android.support:appcompat-v7:23.0.1' in "build.gradle".
    You can also change your style parent to "Theme.AppCompat.Light.NoActionBar".
    Try to use the Toolbar instead of ActionBar.

Now the actionbar that the V7 package relies on is out of date. In “build. Gradle”, change the dependent version to ‘com. Android support:appcompat-v7 :23.1.1′–>’ com.android. support:appcompat-v7 : 23.0.1 ‘.
or change the style to “theme. Appcompat. Light. Noactionbar”
it is recommended that you try to use toolbar instead of actionbar

Similar Posts: