S.M_Emamian
S.M_Emamian

Reputation: 17393

How to import a sample from a library on github into android studio

I'm going to migrate to android studio.

I would like to use this library :

https://github.com/alexvasilkov/FoldableLayout

I followed below link steps to import this library :

https://github.com/MagicMicky/FreemiumLibrary/wiki/Import-the-library-in-Android-Studio

now, how can I use the sample of this project ?

enter image description here

I've tested the following steps but did not work:

file => import project

..\94\FoldableLayout-master\FoldableLayout-master\sample

file => import module

..\94\FoldableLayout-master\FoldableLayout-master\sample

Upvotes: 0

Views: 777

Answers (3)

gmendes
gmendes

Reputation: 117

You can put this in ptoject folder, go to project structue, import module then select the sample.

Upvotes: 0

Masoud Emamian
Masoud Emamian

Reputation: 42

You should copy/paste your sample folder into your project directory then enter below line in the ../project/settings.gradle file :

> incldue ':sample'

Upvotes: 1

Sjd
Sjd

Reputation: 1261

File => Open => ../Sample/Build.gradle

Upvotes: 0

Related Questions