mukeshsolanki / android-otpview-pinview

A custom view to enter otp of different sizes used usually in cases of authentication.
MIT License
707 stars 207 forks source link

What is your latest version #82

Closed ArsalanAbrar closed 4 years ago

ArsalanAbrar commented 4 years ago

Subject of the issue

Failed to resolve: com.github.mukeshsolanki:android-otpview-pinview:2.1.0

i am getting this error whats your latest version of this library

pratikbutani commented 4 years ago

Have you added this line in build.gradle of root level:

maven { url "https://jitpack.io" }

as below:

allprojects {
    repositories {
        google()
        jcenter()
        maven { url "https://jitpack.io" }
    }
}
bilabus commented 4 years ago

still same problem, was add maven { url "https://jitpack.io" }

dnsking commented 4 years ago

You're supposed to add to the build script as well @bilabus and @pratikbutani

buildscript {
    repositories {
        maven { url "https://jitpack.io" }
    }
}

allprojects {
    repositories {
        google()
        jcenter()
        maven { url "https://jitpack.io" }

    }
}
Miriam-Rachel commented 3 years ago

this didn't work for me. the attribute: com.mukesh.OptView is still not recognized

mehrajmuheeb commented 3 years ago

this didn't work for me. the attribute: com.mukesh.OptView is still not recognized

@Miriam-Rachel You are only supposed to add this in build.gradle(Project) allprojects { repositories { google() jcenter() maven { url "https://jitpack.io" } } }

Miriam-Rachel commented 3 years ago

Still not working :( I added this and the implementation 'com.github.mukeshsolanki:android-otpview-pinview:2.1.2' to build.gradle(app) as well

Borlehandro commented 3 years ago

Just add maven { url 'https://jitpack.io' } in your settings.gradle and it will work:

buildscript {
    repositories {
        google()
        mavenCentral()
        maven { url "https://jitpack.io" }
    }
}
behroozAlborzi commented 2 years ago

Just add maven { url 'https://jitpack.io' } in your settings.gradle project and it will work:

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        jcenter() // Warning: this repository is going to shut down soon
        maven { url "https://jitpack.io" }
    }

}
Ajmalyousufz commented 2 years ago

Just add maven { url 'https://jitpack.io' } in your settings.gradle and it will work:

buildscript {
    repositories {
        google()
        mavenCentral()
        maven { url "https://jitpack.io" }
    }
}

Thank you Very much you are Great... The maven url is add in settings.gradle any one get error in 2021 please look here