Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use OtpEditText from Gradle Script #20

Open
janakirampalepu opened this issue Jul 13, 2024 · 1 comment
Open

Unable to use OtpEditText from Gradle Script #20

janakirampalepu opened this issue Jul 13, 2024 · 1 comment

Comments

@janakirampalepu
Copy link

janakirampalepu commented Jul 13, 2024

Describe the bug

We are unable to use OtpEditText using Gradle Script.

To Reproduce
Steps to reproduce the behaviour:

  1. Add library to app module gradle file
  2. //    otp edit text
    
    implementation 'com.github.swapnil1104:OtpEditText:1.0.0'
  3. Click on SyncNow in Android Studio.
  4. See error

Expected behaviour
Android app should build without any issues.

Screenshots

[00:37:08]: ▸ Execution failed for task ':app:mergeStagingArtProfile'.
[00:37:08]: ▸ > Could not resolve all dependencies for configuration ':app:stagingRuntimeClasspath'.
[00:37:08]: ▸ The project declares repositories, effectively ignoring the repositories you have declared in the settings.
[00:37:08]: ▸ You can figure out how project repositories are declared by configuring your build to fail on project repositories.
[00:37:08]: ▸ See https://docs.gradle.org/7.4.2/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories for details.
[00:37:08]: ▸ > Could not find com.github.swapnil1104:OtpEditText:1.0.0.
[00:37:08]: ▸ Searched in the following locations:
[00:37:08]: ▸ - https://maven.google.com/com/github/swapnil1104/OtpEditText/1.0.0/OtpEditText-1.0.0.pom
[00:37:08]: ▸ - https://repo.maven.apache.org/maven2/com/github/swapnil1104/OtpEditText/1.0.0/OtpEditText-1.0.0.pom
[00:37:08]: ▸ - https://plugins.gradle.org/m2/com/github/swapnil1104/OtpEditText/1.0.0/OtpEditText-1.0.0.pom
[00:37:08]: ▸ - https://repo.sendbird.com/public/maven/com/github/swapnil1104/OtpEditText/1.0.0/OtpEditText-1.0.0.pom
[00:37:08]: ▸ - https://jitpack.io/com/github/swapnil1104/OtpEditText/1.0.0/OtpEditText-1.0.0.pom
[00:37:08]: ▸ Required by:
[00:37:08]: ▸ project :app
[00:37:08]: ▸ * Try:

@d2luu
Copy link

d2luu commented Sep 25, 2024

I got the same issue here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants