Error in importing Google-play-service into Ecplise

when i import google play service into my ecplise it shows error in appinvite_style.xml file

Error Location : res->values-v21->appinvite_styles.xml

<!-- Base preview application theme. -->
<style name="Theme.AppInvite.Preview.Base" parent="@android:style/Theme.Material.Light.DialogWhenLarge.NoActionBar"/>

appinvite_styles.xml

and also i tried to import appcomport-v7 but it throws the error in that folder too.

API Level :19 (4.2.2)

thanks in advance

Answers


The important thing in adding a library in eclipse is to remember that your project and the library project need to be in the same workspace.

To solve this follow below ways,

You can copy the google-play-services library project to the same workspace where your main project is there.

else

While importing the library to eclipse remember to check copy projects into workspace which will add a copy of the library to your workspace.

Please refer this: eclipse android can not import google play services library


Need Your Help

Use [id class] as a pointer

ios class

I'm maybe trying to do something wrong, but it would help to make my code simple.

Lagged variables in panels with ddply

r panel plyr data.table lag

I'm trying to generate precision change (based on estimated confidence intervals) in what is in essence a panel data set.