问题
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