No resource found that matches the given name '@android:style/Theme.Material.Light.DialogWhenLarge.NoActionBar'

前端 未结 3 1761
暖寄归人
暖寄归人 2021-01-08 01:43

I get this error when trying to use latest Google Play Services SDK:

C:\\Program Files (x86)\\Android\\android-sdk\\extras\\google\\google_play_services\\lib         


        
相关标签:
3条回答
  • 2021-01-08 01:45

    Follow these steps

    • Right click, Properties of google-play-services_lib project
    • goto java compiler and set it to 1.5
    • goto android and set project build target to android 6.0
    • make sure you installed latest update for android sdk tools and google play services in your sdk

    Close the project and Open it, this helps too.

    0 讨论(0)
  • 2021-01-08 01:53

    I fixed it by changing the minSdkVersion in google-play-services_lib manifest to the minimum SDK version used by my app. Example: <uses-sdk android:minSdkVersion="14"/>

    0 讨论(0)
  • 2021-01-08 02:01

    I don't use any IDEs. The way I fixed it was to upgrade to gradle and set compileSdkVersion to 23 or another option was to stick with ant and the old version of Google Play Services (rev. 21) which luckily I had checked into my repo. (the SDK manager will always give you latest version which is 29 at time of this writing).

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