I am trying to develop an application using ActionBarSherlock and everything works except for the theme. In particular, I can import com.actionbarsherlock.app.*
, import com.actionbarsherlock.app.*
SherlockActivity
, but I always have this error in my manifest:
Error: No resource found that matches the given name (at 'theme' with value '@style/Theme.Sherlock').
I know there were a lot of questions about this, but they did not work for me. I tried
- Workspace Update
- cleaning all my projects
- putting a string in
<activity>
and <application>
- setting my TargetSdkVersion and minSdkVersion for different values, both in my manifest and in ABS mode
and I tried the following options and possibly others:
android:theme="@style/Theme.Sherlock"
android:theme="@android:style/Theme.Sherlock"
theme="@style/Theme.Sherlock"
theme="@android:style/Theme.Sherlock"
theme="@theme/Theme.Sherlock"
theme="@android:theme/Theme.Sherlock"
It is worth noting that the autocomplete after I typed "@style/"
didnβt show anything, so I tried to make my own style in styles.xml
and then appeared, but still didnβt do anything from ActionBarSherlock.
Also, in styles.xml
I tried to create my own theme for the Theme.Sherlock
extension, and @style/Theme.Sherlock
not found there when I tried to add it as a parent.
I tried to download samples, but got a JAR mismatch.
My conclusion is that somehow my xml files cannot access the ABS library, but I donβt understand how to fix it. Any help is greatly appreciated.
source share