HearingAidAndroid icon indicating copy to clipboard operation
HearingAidAndroid copied to clipboard

Build fails for dependencies not found

Open mohabouz opened this issue 2 years ago • 0 comments

When I try to build the source, gradle returns an exception like the following

1: Task failed with an exception.
-----------
* What went wrong:
Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not find com.github.vatbub:common.view.motd.core:0.1.6-SNAPSHOT.
  Searched in the following locations: 
 ...
 ...
    - https://dl.google.com/dl/android/maven2/com/github/vatbub/common.view.motd.core/0.1.6-SNAPSHOT/maven-metadata.xml
    - https://dl.google.com/dl/android/maven2/com/github/vatbub/common.view.motd.core/0.1.6-SNAPSHOT/common.view.motd.core-0.1.6-SNAPSHOT.pom
    - https://dl.google.com/dl/android/maven2/com/github/vatbub/common.view.motd.core/0.1.6-SNAPSHOT/common.view.motd.core-0.1.6-SNAPSHOT.jar
    - https://jcenter.bintray.com/com/github/vatbub/common.view.motd.core/0.1.6-SNAPSHOT/maven-metadata.xml
    - https://jcenter.bintray.com/com/github/vatbub/common.view.motd.core/0.1.6-SNAPSHOT/common.view.motd.core-0.1.6-SNAPSHOT.pom
    - https://jcenter.bintray.com/com/github/vatbub/common.view.motd.core/0.1.6-SNAPSHOT/common.view.motd.core-0.1.6-SNAPSHOT.jar
    - https://jitpack.io/com/github/vatbub/common.view.motd.core/0.1.6-SNAPSHOT/maven-metadata.xml
    - https://jitpack.io/com/github/vatbub/common.view.motd.core/0.1.6-SNAPSHOT/common.view.motd.core-0.1.6-SNAPSHOT.pom
    - https://jitpack.io/com/github/vatbub/common.view.motd.core/0.1.6-SNAPSHOT/common.view.motd.core-0.1.6-SNAPSHOT.jar
    - https://oss.jfrog.org/artifactory/libs-snapshot/com/github/vatbub/common.view.motd.core/0.1.6-SNAPSHOT/maven-metadata.xml
    - https://oss.jfrog.org/artifactory/libs-snapshot/com/github/vatbub/common.view.motd.core/0.1.6-SNAPSHOT/common.view.motd.core-0.1.6-SNAPSHOT.pom
    - https://oss.jfrog.org/artifactory/libs-snapshot/com/github/vatbub/common.view.motd.core/0.1.6-SNAPSHOT/common.view.motd.core-0.1.6-SNAPSHOT.jar
    - https://maven.google.com/com/github/vatbub/common.view.motd.core/0.1.6-SNAPSHOT/maven-metadata.xml
    - https://maven.google.com/com/github/vatbub/common.view.motd.core/0.1.6-SNAPSHOT/common.view.motd.core-0.1.6-SNAPSHOT.pom
    - https://maven.google.com/com/github/vatbub/common.view.motd.core/0.1.6-SNAPSHOT/common.view.motd.core-0.1.6-SNAPSHOT.jar
  Required by:
      project :app
> Could not find com.github.vatbub:common.core:0.1.6-SNAPSHOT.
  Searched in the following locations:
 ...
 ...
    - https://dl.google.com/dl/android/maven2/com/github/vatbub/common.core/0.1.6-SNAPSHOT/maven-metadata.xml
    - https://dl.google.com/dl/android/maven2/com/github/vatbub/common.core/0.1.6-SNAPSHOT/common.core-0.1.6-SNAPSHOT.pom
    - https://dl.google.com/dl/android/maven2/com/github/vatbub/common.core/0.1.6-SNAPSHOT/common.core-0.1.6-SNAPSHOT.jar
    - https://jcenter.bintray.com/com/github/vatbub/common.core/0.1.6-SNAPSHOT/maven-metadata.xml
    - https://jcenter.bintray.com/com/github/vatbub/common.core/0.1.6-SNAPSHOT/common.core-0.1.6-SNAPSHOT.pom
    - https://jcenter.bintray.com/com/github/vatbub/common.core/0.1.6-SNAPSHOT/common.core-0.1.6-SNAPSHOT.jar
    - https://jitpack.io/com/github/vatbub/common.core/0.1.6-SNAPSHOT/maven-metadata.xml
    - https://jitpack.io/com/github/vatbub/common.core/0.1.6-SNAPSHOT/common.core-0.1.6-SNAPSHOT.pom
    - https://jitpack.io/com/github/vatbub/common.core/0.1.6-SNAPSHOT/common.core-0.1.6-SNAPSHOT.jar
    - https://oss.jfrog.org/artifactory/libs-snapshot/com/github/vatbub/common.core/0.1.6-SNAPSHOT/maven-metadata.xml
    - https://oss.jfrog.org/artifactory/libs-snapshot/com/github/vatbub/common.core/0.1.6-SNAPSHOT/common.core-0.1.6-SNAPSHOT.pom
    - https://oss.jfrog.org/artifactory/libs-snapshot/com/github/vatbub/common.core/0.1.6-SNAPSHOT/common.core-0.1.6-SNAPSHOT.jar
    - https://maven.google.com/com/github/vatbub/common.core/0.1.6-SNAPSHOT/maven-metadata.xml
    - https://maven.google.com/com/github/vatbub/common.core/0.1.6-SNAPSHOT/common.core-0.1.6-SNAPSHOT.pom
    - https://maven.google.com/com/github/vatbub/common.core/0.1.6-SNAPSHOT/common.core-0.1.6-SNAPSHOT.jar
  Required by:
      project :app

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find com.github.vatbub:common.view.motd.core:0.1.6-SNAPSHOT.
  Required by:
      project :app
> Could not find com.github.vatbub:common.core:0.1.6-SNAPSHOT.
  Required by:
      project :app

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

* Get more help at https://help.gradle.org

BUILD FAILED in 11s
17 actionable tasks: 16 executed, 1 up-to-date

mohabouz avatar Apr 20 '22 04:04 mohabouz