How to import the Android App project source code in Eclipse?

情到浓时终转凉″ 提交于 2019-12-07 16:56:00

问题


I downloaded the android source code for callLog UI for the Contacts, Call log, and Dialer applications using this link https://android.googlesource.com/platform/packages/apps/Contacts/

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?

Thanks.


回答1:


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.




回答2:


With adt-20131030 it's File-->New-->Project...-->Android-->Android Project from Existing Code. Then put the path to the project root path.



来源:https://stackoverflow.com/questions/4649420/how-to-import-the-android-app-project-source-code-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!