-2

may some one explain me how can I add a library to my android studio's project?

This is the library: https://github.com/code-troopers/android-betterpickers

I'd like to use the recurrence picker. Thanks in advance

3 Answers3

0

enter image description here

open this file and inside of it, you will find the following the icon on the side might not be the same

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile 'com.code-troopers.betterpickers:library:3.1.0' //add this line here
}
Gil Goldzweig
  • 1,809
  • 1
  • 13
  • 26
0

You need to add this library as dependency in your project (assume you use android studio) Add this dependency in your gradle build script:

 dependencies {  
        compile group: 'com.code-troopers.betterpickers', name: 'library', version: '3.1.0'
}
fxrbfg
  • 1,756
  • 1
  • 11
  • 17
0

You need this dependency, which you can find below all the screenshots in your link

enter image description here

Then find this file in your project:

enter image description here

Put your dependecy in the dependencies block:

enter image description here

After that you will see the message that gradle files have changed and a project sync is necessary. Press on Sync Now