ActionBarSherlock does not import

advertisements

I have a problem with actionbarsherlock that it drives me crazy!

I have a new workspace, I imported my project and the library projects. There is also actionbarsherlock library project.

My project doesn't generate R file, I suppose because there isn't actionbarsherlock in library path.

image 1

I import the library project and fix the path...

image 2

I clean project but if I return to project properties in the android section I SHOW LIKE IMAGE 1!!!!! It seems like eclipse doesn't save project's changes..

I try:

  • Change project Build Target to 4.2.2 (In my project and in actionbarsherlock).
  • Change in java compiler the 1.6 java compiler compliance level (checked "enable project specific settings").
  • Change in manifest.xml android:minSdkVersion="8".
  • Add android support libraries.
  • Refresh & clean projects...

    What am I doing wrong?????

I post 2 other images and the eclipse problems..

image 3: my project

image 4: actionbarsherlock project: I change android 4.3 to 4.2.2 after screen capture..

Eclipse problems

Error retrieving parent for item: No resource found that matches the given name '@style/Theme.Sherlock'.
Cannot cast from Activity to MainActivity.
Error retrieving parent for item: No resource found that matches the given name '@style/Widget.Sherlock.ActionBar.Solid'.
Menu cannot be resolved to a type.

etc etc...

Thak you very much.


Make sure all of you projects are in the same directory. Copy every Library project manually inside the same Workspace, before importing them.