Start by cloning the project git clone https://github.com/nenick/android-gradle-template.git myAppName
and navigate into it cd myAppName
.
Remove the git folder rm -rf .git
and create a new history by git init
.
You can connect it with an already existing remote repository by:
git remote add origin <remote_repo_url>
git push --all --set-upstream origin
For fast prototyping just remove appCt, appIt, tools and docs for a clean code base.
- clean up the app/build.gradle file from stuff which is added for database example
- delete the app/src/main/java/com/example/project/database package
- now delete or adjust other code with compile errors
- clean up the app/build.gradle file from stuff which is added for network example
- delete the app/src/main/java/com/example/project/database package
- now delete or adjust other code with compile errors