Android support v7 can't find ActionBarActivity

Asaf Nevo picture Asaf Nevo · Oct 6, 2013 · Viewed 27.8k times · Source

I've used all the manuals available and finally i was managed to add the v7 support to my android version 2.3 project.

I'm trying to add ActionBarActivity but it can't be found.. although ActionBar is found...

This is me trying to get ActionBarActivity.

enter image description here

This is my SDK Manager enter image description here As you can see i can import the v7 path, but doesn't have the ActionBarActivity

Answer

Dpedrinha picture Dpedrinha · Nov 22, 2013

Delete the support v4 jar file in your project/lib folder.

You can have it there and work with the support v7 lib, but v7 already has a v4 lib and they must have the same version to work.

Remove the v4 jar file, then add the v7.