Reputation: 4922
Let's say my project directory on Github looks like this
\root
\Readme.md
\Android Project I need to Import
\app
\and so on
Whenever I try to import this Git repository into Android Studio, I can't access my files because the Android project is a sub-directory. I can't clone the project from the command line because then Android Studio refuses to open it.
Has anyone else experienced this or knows what to do? I've been stuck for a few hours on this.
Thanks in advance!
Upvotes: 1
Views: 45
Reputation: 1328522
Check if /root
has a .gitmodules
file, which could indicate Android Project
is a submodule.
Then Android Project
would not have any .git
in it, because the history would be managed by the parent folder.
Upvotes: 1