Error:In SherlockSpinner, unable to find attribute android:popupPromptView

前端 未结 1 921
囚心锁ツ
囚心锁ツ 2020-12-17 17:10

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

相关标签:
1条回答
  • 2020-12-17 17:48

    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.

    0 讨论(0)
提交回复
热议问题