I tried to clone a private repo from GitHub to Android Studio using "Check out Project from Version Control" The cloning works. However, after cloning, the Android directory is empty. I couldn't find any Java files in the Project directory either:
3
-
there's only master branchKelok Chan– Kelok Chan2016-03-07 06:58:54 +00:00Commented Mar 7, 2016 at 6:58
-
Try to reopen the project, using the Android studio wizard, the one that appears when you doesn't have any open projects; select import non Android studio project and select the local folder you just cloned (even if the one versioned was an Android studio project)visd0m– visd0m2016-03-07 07:07:37 +00:00Commented Mar 7, 2016 at 7:07
-
You're trying to clone a private repository so make sure the account you're using has the permission needed to clone that repository. Also check your global settings maybe another account is being used for the cloning process.KaHeL– KaHeL2016-03-07 07:26:39 +00:00Commented Mar 7, 2016 at 7:26
Add a comment
|
1 Answer
This is a known problem with the IDE.
How to fix it?
- Close the project.
- Delete the
.ideafolder - Open the studio again
- Create new project from existing source - your project path
And thats it :-)
1 Comment
aye2m
In #4, I opened the existing project instead of creating a new project from existing source. It worked. Thanks!

