My project contains \"ActionBar Sherlock Pull to refresh\" and compiles and runs fine with API level 21 and earlier but when i am trying to compile it with API 22, i\'m gett
Solution if you are using gradle :
android {
compileSdkVersion 22
buildToolsVersion '22.0.1'
[...]
}
If you are using an android projet in Eclipse : upgrade the build tools version to 22.0.1 in the SDK manager.
Cause of the problem :
/Users/m./Android_SDK/build-tools/21.1.2 should match /Users/m./Android_SDK/platforms/android-22
I had the same problem after I downloaded android SDK platform 22. Upgrading the build tools to 22.0.1 fixed it.