如何在Eclipse中导入Android App项目源代码? [英] How to import the Android App project source code in Eclipse?

查看:629
本文介绍了如何在Eclipse中导入Android App项目源代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用此链接 https://android.googlesource.com/platform/packages/apps/Contacts/

现在,我想在日食中使用它.但是当我尝试导入该项目时,它说没有找到该项目.然后,我尝试手动设置所有配置,但是在导入,AndroidManifest.xml,R.java等方面显示很多错误.

Now, I want to use it on eclipse. But when I try to import the project,it says it didnt found the project. Then I tried to set all the configurations manually, but it show a lot of errors with the importing, the AndroidManifest.xml, with the R.java, etc.

那么有什么办法可以直接将其导入作为蚀的项目?

So is there any way of import this directly as a project to eclipse?

谢谢.

推荐答案

文件->新建项目-> Android项目

File->New Project ->Android Project

在对话框中,选择选项现有项目",然后将路径放入项目的根路径. 这总是对我有用.

In the dialog, choose the option "Existing Project" and put the path to the project root path. This always works for me.

这篇关于如何在Eclipse中导入Android App项目源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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