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\libproject\google-play-services_lib\res\values-v21\appinvite_styles.xml:5: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.Light.DialogWhenLarge.NoActionBar'.
I am targetting android-19
but have also tried android-21
with same result. I have the Android Support Library
If I use older version of Google Play Services (rev. 21), the error is not there. Also there is no folder values-v21
in the earlier version. How to fix this error?
EDIT: I have tried using API 21 but this error persists.
in manifest.xml
:
<uses-sdk android:minSdkVersion="21"
android:targetSdkVersion="21" />
in project.properties
:
target=android-21
Follow these steps
google-play-services_lib
projectClose the project and Open it, this helps too.
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"/>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With