user7356716 user7356716 - 4 years ago 109
Android Question

How to import library in my project

Hey guys i want to import this library in my project. What is the proper way to do it? Im trying to import it but failed. Sorry newbie here

Answer Source

I have used jitpack.io and obtained the latest version. Try this out, it should work.

Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Add the dependency

dependencies {
        compile 'com.github.dinuscxj:LoadingDrawable:1d8bc27'
}
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download