I followed these steps and did exactly the same:
http://www.slideshare.net/androidstream/action-bar-sherlock-tutorial
But the problem is this com_actionbarsherlock has many errors in its src folder files.
most(or don’t know if all) of the errors are like this:
The method onPreparePanel(int, View, Menu) of type _ActionBarSherlockTrojanHorse must override a superclass method
Library Manifest has this:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.actionbarsherlock"
android:versionCode="90"
android:versionName="4.1.0" >
<uses-sdk
android:minSdkVersion="4"
android:targetSdkVersion="14" />
</manifest>
and project build target is API 14
and my project manifest has this:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.sherlock"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="10" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/Theme.Sherlock">
<activity
android:name=".SherlockActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
and project build target is API 10
How to solve this??
Thank you
Quoting myself from a blog post from this week: