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.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…