Skip to content

Unable to use OtpEditText from Gradle Script #20

Description

@janakirampalepu

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions