Appinvite_styles.xml: 5: error while turning on Google Play Services library for eclipse

I need to add an ad to my application. Therefore, I need to include the Google Play Services library in my project. I installed the latest version of Google Play Services (r29) and added to my projects as libProject. But when I add this utility lib, I get the error below:

workspace\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'. 

How can I solve this problem? Thanks for the help.

+5
source share
3 answers

just changed the project SDK to 20 (out of 21) and all compiled.

+2
source

I solved the problem by checking the Is Library option and I referenced appcompat_v7

+1
source

I also had the same problem, but now it has been resolved. Below are the steps that I followed - Go to project properties-> Android - In the "Project Build Target" section, select Android 5.0.1. Click and clear the library project.

0
source

Source: https://habr.com/ru/post/1238712/


All Articles