Search code examples
androidandroid-studioandroid-librarysectionedrecyclerviewadapter

how to add new library in android studio


I want add this library in Android Studio.

I added this

compile io.github.luizgrp.sectionedrecyclerviewadapter:sectionedrecyclerviewadapter:1.1.1'

into build.gradle section .

But when sync android studio show me this error , please click on this link to see my error image

https://image.ibb.co/mprfOQ/tyed.png

How can i fix it? Please help me.


Solution

  • They dont have 1.1.1 version, they have 1.1.2 version so use like this,

    compile 'io.github.luizgrp.sectionedrecyclerviewadapter:sectionedrecyclerviewadapter:1.1.2'
    

    Check the version here for more