How I can include existing project into my android app. following is the one i want to use:
1 Answer
You should be able to add your project as a submodule of your android app repo.
See for instance this question:
cd C:\Users\USER\AndroidStudioProjects\ProjectName
git submodule add https://github.com/dhis2/dhis2-android-sdk
file structure:
ProjectName
app
dhis2-android-sdk
6 Comments
Sourabh
hey Vonc can you please tell me step by step as i am a newbie here.
VonC
@Sourabh do you have a
C:\Users\USER\AndroidStudioProjects\ProjectName which is a git repo?Sourabh
Yes i have found that what next to do
Sourabh
I am trying to add the git command: git submodule add github.com/dhis2/dhis2-android-sdk under : C:\Users\USER\AndroidStudioProjects\ProjectName but i got this following error:'git' is not an internal or external command.
mubeen
@Sourabh "git' is not an internal or external command" means that your environment variable path is not set or you donot have git installed
|