Skip to content Skip to sidebar Skip to footer

Action Bar Sherlock Has Deprecated Methods

I downloaded the ActionBarSherlock version 4.1.0.0, and added a the Android Project library into Eclipse 4.2 on my Win7 java 1.6 update 24 machine. I used an Eclipse Project Build

Solution 1:

It is just fine. The code is 2.x compatible and even some methods are deprecated as of 4.x, they are still there. It also do not mean on 4.x these deprecated methods will be used. The source is 2.x-4.x so there's no other way (not to mention reflection, but that'd hurt performance, and is for now not necessary). So it is safe to just ignore this. It would probably be better to turn depreciation off for certain files but it is not there. So do not worry.

Solution 2:

This is doesn't really answer the question but I ran into the same issue when I had to have a minSdkVersion 9 and I wanted to have ActionBarSherlock but I was getting the same error of the actionBar requires minSdkVersion 11.

Apparently in ADT 21.1 you make a values-v11/styles.xml and put the actionBar in there.

https://code.google.com/p/android/issues/detail?id=48283

Post a Comment for "Action Bar Sherlock Has Deprecated Methods"