1

I have created a project with help of Action Bar Sherlock. Now, I have made that project as library project and want that project to be included in another project which uses appcompat.

Here, I faced problem with Error:(2) Attribute "titleTextStyle" has already been defined. I googled and found some reference like we can use either ActionBarSherlock or Appcompat.

What should i do to solve this issue. Can anyone please help me to solve this issue ?

Vipul Asri
  • 8,903
  • 3
  • 46
  • 71
Vivek
  • 343
  • 1
  • 5
  • 12
  • check this link http://stackoverflow.com/questions/23733021/error-after-adding-dependencies-to-action-bar-sherlock-in-android-studio-0-5-8 – Naveen Oct 28 '15 at 10:24

1 Answers1

0

You can't use together ActionbarSherlock and Appcompat library.

They use the same attributes.

Since the Actionbarsherlock library was deprecated by the author 2 years ago, there is no need to use this library today.
Use the the AppCompat library

Gabriele Mariotti
  • 320,139
  • 94
  • 887
  • 841