1. 程式人生 > >Android Studio: Theme.Sherlock.Light.DarkActionBar cannot be resolved

Android Studio: Theme.Sherlock.Light.DarkActionBar cannot be resolved

I have included the ABS aar, as seen here (https://github.com/JakeWharton/ActionBarSherlock-Gradle-Sample), in my project. It works fine with my classes, in my style XML, however, I get "Theme.Sherlock.Light.DarkActionBar cannot be resolved". My gradle file looks like this:

dependencies {
compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar'
compile 'com.android.support:support-v4:18.0.+'}

In my style XML:

<stylename="AppTheme"parent="Theme.Sherlock.Light.DarkActionBar"><item name="textAppearanceFinish">@style/TextAppearanceFinish</item></style>