0

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. - 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' ?

Community
  • 1
  • 1
fineTuneFork
  • 683
  • 7
  • 21

2 Answers2

1

Try the following:

  • 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".

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

Nelspike
  • 123
  • 2
  • 6
0

i can able to import the same project :

Steps followed:

Eclipse: File-> Import> Git-> Project from Git-> Clone URI->

Clone URL: https://github.com/github/android.git

in case required : Git plugin available at : http://www.eclipse.org/egit/download/

kedark
  • 244
  • 1
  • 7