Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add library of ActionBarSherlock to project?

How to add library of ActionBarSherlock to project? I tried to add library in Android->Library but can't add.

like image 243
Dhiren Avatar asked Dec 03 '25 11:12

Dhiren


1 Answers

Both answers above are close to the solution but not close enough. Here's is how i solved this issue.

1. Install android sdk version 14

2. Import the ActionBarSherlock project you downloaded to Eclipse

3. VERY IMPORTANT do this before step 4 In your project look for android-support-v4.jar If you find it then delete it.

4. Right click on the project you want to use the custom action bar /Properties/Library/Add and add the library project.

If you get an error after step 4 like Jar mismatch! Fix your dependencies then repeat step 3.

Hope this helps others and have a nice day.

like image 158
madcoderz Avatar answered Dec 06 '25 04:12

madcoderz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!