Problem with google-play-services

project, which was compiled before, no longer working now. The error occurs:

…\ bin \ android \ bin \ deps \ 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’.

BUILD FAILED
C:\Development\Android SDK\tools\ant\build.xml:597: The following error occurred while executing this line:
C:\Development\Android SDK\tools\ant\build.xml:649: The following error occurred while executing this line:
C:\Development\Android SDK\tools\ant\build.xml:694: null returned: 1

Add

<android target-sdk-version="21"/>

in your project.xml. Also make sure that you have api 21 downloaded.

1 Like