GitHub的导入Android源偏食 [英] Importing github android source to eclipse

查看:170
本文介绍了GitHub的导入Android源偏食的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试导入 https://github.com/github/android 项目到我的蚀。我似乎无法导入它没有任何错误,而且主要的目录结构导入后不显示任何来源$ C ​​$ C。这将是很大的,如果有人可以帮助我走出了整个过程。

I have been trying to import https://github.com/github/android project to my eclipse. I just cannot seem to import it without any errors, and also the directory structure of main doesn't show any source code after importing. It will be of great if anyone can help me out with the whole process.

P.S。 - 这不是导入GitHub的项目到Eclipse 或的可能重复<一个href=\"http://stackoverflow.com/questions/17431920/import-android-project-in-adt-eclipse-from-github\">Import从GitHub 在ADT Eclipse中的Andr​​oid项目。我已经尝试了一切,我认为源$ C ​​$ C是有点Maven化?

P.S. - This is not a possible duplicate of Importing a GitHub project into Eclipse or Import android project in ADT Eclipse from github . I have tried everything, and I think the source code is somewhat 'mavenized' ?

推荐答案

请尝试以下操作:


  • 使用 git的克隆在您的本地存储的某处克隆项目;

  • 打开Eclipse(在Java透视图和Android SDK中安装),然后选择文件>新建>其他...;

  • 然后选择机器人 - >Android项目从现有code;

  • 在根目录,挑库的应用程序文件夹,你只克隆;

  • 勾选复制项目进入工作区;

  • preSS完成。

  • Use git clone to clone the project somewhere in your local storage;
  • Open Eclipse (in Java perspective and with Android SDK installed), and choose "File" > "New" > "Other...";
  • Then choose "Android" > "Android Project from Existing Code";
  • In "Root Directory", pick the app folder of the repository you just cloned;
  • Tick "Copy projects into workspace";
  • Press "Finish".

但是,请记住,你需要有Android版本的manfest是要求。不要忘记这一点。

However, keep in mind you need to have the android version the manfest is asking for. Don't forget about that.

这篇关于GitHub的导入Android源偏食的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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