Search code examples
androidandroid-menuandroid-sliding

How to fix compile time error while implementing sliding menu using jeremyfeinstein library in android


I have downloaded the sliding menu project from this link.

I have imported the project in eclipse.

I am getting the following compile time error:

**com.jeremyfeinstein.slidingmenu.lib.SlidingMenu
com.actionbarsherlock.app.SherlockPreferenceActivity**

I am getting above class is not available. Can anybody tell me if there is any jar file I need to add? Could you provide a link to it if possible?

Thanks


Solution

  • I'll strictly recommended you to use android support library v7.

    Find more :

    http://blog.xamarin.com/android-support-library-v7-hello-actionbarcompat/http://blog.xamarin.com/android-support-library-v7-hello-actionbarcompat/

    if you don't want it

    1 . right click your project ->properties->android

       in that make sure you have all lib added as reference.
    
    1. clean your project : project->clean.

    2. make sure your sliding menu lib also have reference to ActionBarSherlock Project Lib.