[英]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 当我将google play服务导入到我的ecplise中时,appinvite_style.xml文件中显示错误
Error Location : res->values-v21->appinvite_styles.xml 错误位置: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 appinvite_styles.xml
and also i tried to import appcomport-v7 but it throws the error in that folder too. 而且我也尝试导入appcomport-v7,但是它也会在该文件夹中引发错误。
API Level :19 (4.2.2) API级别:19(4.2.2)
thanks in advance 提前致谢
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. 在eclipse中添加库的重要之处在于要记住,您的项目和库项目必须位于同一工作区中。
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. 您可以将google-play-services库项目复制到主项目所在的同一工作区中。
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. 在将库导入到eclipse时,请记住将项目复制到工作区中,这会将库的副本添加到您的工作区中。
Please refer this: eclipse android can not import google play services library 请参考此: eclipse android无法导入google play服务库
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.