Error:In <declare-styleable> SherlockSpinner, unable to find attribute android:popupPromptView

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-29 06:07:05

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!