Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Appinvite_styles.xml:5: error When including Google Play Services library to eclipse

I need to add an ad to my application. So I need to include Google Play Services library to my project. I have installed lastest version of Google Play Services (r29) and added to my projects as libProject. But when I add this service lib I'm getting 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 help..

like image 608
Cem Avatar asked Oct 18 '22 19:10

Cem


2 Answers

just changed Project SDK to 20 (from 21) and all compiled.

like image 192
djdance Avatar answered Oct 29 '22 21:10

djdance


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

like image 25
Cem Avatar answered Oct 29 '22 22:10

Cem