I'm trying to develop an app with ActionBarSherlock and everything works except the theming. Specifically, I can import com.actionbarsherlock.app.*, extend 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 have been plenty of questions asked about this, but they have not worked for me. I have tried
<activity> and the <application>
and I've tried the following variations, and probably 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's worth noting that the autocomplete after I typed "@style/" was showing nothing, so I tried making my own style in styles.xml and then that showed up but still nothing from ActionBarSherlock.
Also, in styles.xml, I tried to make my own theme to extend Theme.Sherlock, and @style/Theme.Sherlock was not found there either when I tried to add it as a parent.
I tried loading the samples but got a JAR Mismatch.
My conclusion is that somehow my xml files are unable to access the ABS library, but I'm at a loss as to how to fix it. Any help hugely appreciated.
In your project's Properties > Android, are you including a reference to the com_actionbarsherlock project?

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With