Sourabh
Sourabh

Reputation: 59

How to include project on git into new android project

How I can include existing project into my android app. following is the one i want to use:

https://github.com/dhis2/dhis2-android-sdk

Upvotes: 2

Views: 46

Answers (1)

VonC
VonC

Reputation: 1324258

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

Upvotes: 1

Related Questions