So I'm having difficulty setting up an Android Studio project on GitHub.
Here's my issue:
I can't find a way to push the project on GitHub, then clone it and have it maintain it's project structure.
I've tried a few different things but In every step I simply created a new android project with a simple empty activity to test how GitHub/AndroidStudio would work.
- I tried using a .gitignore file from a old StackOverflow post : What should be in my .gitignore for an Android Studio project?
But then I noticed that when I clone my project, and select import existing project in android studio, it changes the entire project structure to the point that it won't even recognize that it's an app. It won't even run let alone see the manifest.
So now I tried another solution:
- I simply tried pushing the entire project directory to Github.
- I did git init inside the project directory, and tried to do a git remote add
- However when I do a git remote -v I can see my repo but a git branch -a or git branch won't show any branches other than my master branch.... EDIT: It seems in order to see the branches I NEED to use git clone. I wasn't encountering this problem earlier...
I can't seem to get anything to work XD
I've been trying to find an introductory guide, but it seems that appart from "Enter your GitHub info and push/pull away via the GUI!" is as far as it goes.
Any help would be great.