无法将库添加到Android项目 [英] Unable to add library to android project

查看:106
本文介绍了无法将库添加到Android项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想补充谷歌Play服务库到我的项目。我按照正确添加库的过程。适当添加它后,当在我的属性在下一次检查库部分它显示了在加入图书馆前红十字会。我附上的截图也。任何帮助吗?

I am trying to add google play services library to my project. I follow the procedure of adding a library correctly. After adding it properly when I next time check library section in properties it shows red cross in front of added library. I have attached the screenshot also. Any help please?

推荐答案

请确保库和项目都在同一个地方,即。

Make sure that the libraries and the project are at the same place, i.e.


  1. 复制在同一文件夹中的库为您的项目

  2. 导入库(文件>导入>现有工作区项目)

  3. 图书馆的开放性> Android和选择是在库

  4. 开启项目属性> Android的>添加(库)

  5. L选择库

  6. 保存属性

如果你从lib文件夹复制的jar文件并将其粘贴到项目的lib这不起作用。如果上面的方法不起作用这应该只完成

If this does not work for you copy the jar files from its lib folder and paste it in the projects lib. This should only be done if the above method doesn't work

这篇关于无法将库添加到Android项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆