Goltsev Eugene Goltsev Eugene - 7 days ago 5
Git Question

Cannot clone project from github

I want to clone next project:
android-architecture

In github I got the HTTPS link to clone project.

In Android Studio: File - New - Project from Version Control - Github.

But when I cloned the project, I see next in Project window:

enter image description here

And no project files.


Moreover - files are not present in Explorer:


enter image description here

What am I doing wrong?

PS. When I press "Download ZIP" in github - everything is ok.

PPS. Tried to clone via terminal (not Studio) - result is the same.

Answer

Please see the ReadMe of the project, specifically to this section (Opening a sample in Android Studio).

Since they don't have any project on master branch you need to checkout a different branch (see this link).

Hope this helps!!

Comments