Reputation: 81
I downloaded .zip file actionbarsherlock of http://actionbarsherlock.com/download.html. unpacked. created a new project in eclipse from the source actionbarsherlock folder library. compiled for android 3.2-Google API. in the project properties android said checkbox is library. compile your project by android 3.2-Google API. open the project properties android, trying to add a library actionbarsherlock, apply, ok. but nothing happens. open the properties of their project and the library actionbarsherlock marked a red cross. using JRE 1.6. Can someone tell what I'm doing wrong or a good link to instructions? Sorry google translate
Upvotes: 4
Views: 2695
Reputation: 1
Put the library in your C:\ drive or the Operating System drive. Do not copy the workspace - I believe it would resolve the issue you're seeing. It really helped me after several hours of strife.
Upvotes: 0
Reputation: 434
The library project must be on the same partition as your project. When you have them on the same partition, Eclipse adds the library using a relative path and it works.
Upvotes: 7
Reputation: 4515
Sounds like the path to the ABS library could be wrong. Steps are as follows.
1.) Start new Android project - From existing source
2.) Right click on the abs project - Select properties - Select Android
3.) Right click on YOUR project - Select properties - Select Android
Don't forget to include in your AndroidManifest.xml to set the style for each activity that will have the ActionBar you must add the following line:
android:theme="@style/Theme.Sherlock"
One other thing. As far as I know, the ActionBarSherlock project must remain in your package explorer. Make sure that you aren't deleting it. That could be causing the path error.
Hope this helps!
Upvotes: 4