Skip to content Skip to sidebar Skip to footer

Unable To Resolve Errors On Sliding Menu Example With Actionbarsherlock

Hi I am a newbie to android and I am trying to run the Sliding Menu Example but i am getting so much errors I have downloaded the package from here: http://github.com/jfeinstein10/

Solution 1:

try this...

  • add actionbarsherlock library to slidingmenu library
  • in your project libraries, use only sliding menu library, not actionbarsherlock.
  • delete the android support library in libs folder in slidingmenu library, and in libs folder in your project
  • and clean all projects, and try it.

Solution 2:

If you have updated SDK means,

select project->right click->go to properties->order and export>select Android Private Libraries. Click Ok.

Clean the project and run it.

Solution 3:

The usual suspect for such errors is the minSdk/targetSdkVersion of your Android project. Try minSdkVersion of 7 and targetSdkVersion 17 (latest as of now). That is, your AndroidManifest.xml should be having this line

<uses-sdkandroid:minSdkVersion="7"android:targetSdkVersion="17" />

And also, from project properties, set Android 4.2 (latest as of now) as the target. Project properties -> Android -> target:4.2

That should solve it. But, if you are still getting errors (on account of different versions of SlidingMenu), experiment with higher minSdkVersion.

Post a Comment for "Unable To Resolve Errors On Sliding Menu Example With Actionbarsherlock"