0

I am trying to add actionbarsherlock to my project. This is a huge project most of the code is written. I have imported actionbarsherlock to my workspace, and when I try to add it as a library to my project eclipse "just forgets" that I added the actionbarsherlock.

enter image description here

When I enter this screen again, the reference to actionbarsherlock project is gone! What is wrong with eclipse? Caveman-tool..

Tobias Moe Thorstensen
  • 8,861
  • 16
  • 75
  • 143
  • Are you checking the box "IS Library" ? – Milos Cuculovic Jan 25 '13 at 12:29
  • Or check here, it can help: http://stackoverflow.com/questions/5167273/in-eclipse-unable-to-reference-an-android-library-project-in-another-android-pr – Milos Cuculovic Jan 25 '13 at 12:31
  • No, the tutorial that I read didn't do it. So the answer is no. – Tobias Moe Thorstensen Jan 25 '13 at 12:31
  • i wonder if there is any limit on the number of directory levels you are allowed to go "back up". the path is going back up to /, and then down in to your Users directory. this could be a problem? It would be a good test to try with the actionbarsherlock folder somewhere closer to the project you are trying to add it to. – Dave Cameron Apr 01 '13 at 02:33

2 Answers2

2

Have you checked the file permissions on the project.properties file?

That is where all references to library projects are kept. My guess is that it can't write the changes to the file.

Chris Banes
  • 31,763
  • 16
  • 59
  • 50
0

Go to your actionBar project ->properties-> Android and check IsLibrary

techieWings
  • 2,045
  • 2
  • 16
  • 18