无法将库添加到Android项目

编程入门 行业动态 更新时间:2024-10-25 19:38:17
本文介绍了无法将库添加到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.

  • 复制在同一文件夹中的库为您的项目
  • 导入库(文件>导入>现有工作区项目)
  • 图书馆的开放性> Android和选择是在库
  • 开启项目属性> Android的>添加(库)
  • L选择库
  • 保存属性
  • 如果你从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项目

    本文发布于:2023-11-13 14:17:12,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1584547.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:项目   Android

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!