How can i add library in android studio : <p>I want add this library into my application : <a href="https://github.com/pucamafra/android-segmentedtab" rel="nofollow noreferrer">https://github.com/pucamafra/android-segmentedtab</a><br></p>

<p>I added this <strong>dependences</strong> <code>compile 'com.marlonmafra.android.widget:segmented-tab:1.1.0'</code> in <strong>build.gradle</strong> and added this code again in <strong>build.gradle</strong> </p>

<p><code>repositories {
    jcenter()
}</code></p>

<p>but when click on sync, not sync project and show me this error : </p>

<pre><code>        Error:(125, 10) Failed to resolve: com.marlonmafra.android.widget:segmented-tab:1.1.0
   Show in File
Show in Project Structure dialog
</code></pre>

<p>Error image : <a href="https://imgur.com/K6KcpoH" rel="nofollow noreferrer">http://imgur.com/K6KcpoH</a></p>

<p>How can i fix it?</p>
