0

We use a nexus repository for our libraries. SDK has it as a dependency in version SNAPSHOT, but maven/gradle fails to fetch it. As Snapshot use to test SDK for beta version and SNAPSHOT didn't count as actual version . But when i implement our android library to another project to test it's throw errors. In real our snapshot version is available on maven.

what is snapshot : https://stackoverflow.com/a/21736592/19674027

Execution failed for task ':app:mergeDebugResources'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find com.123.123:123:1.2.20-SNAPSHOT.
 Searched in the following locations:
   - https://dl.google.com/dl/android/maven2/com/123/123/123/1.2.20-SNAPSHOT/123-1.2.20-SNAPSHOT.pom
   - https://repo.maven.apache.org/maven2/com/123/123/123/1.2.20-SNAPSHOT/123-1.2.20-SNAPSHOT.pom
   - https://jitpack.io/com/123/123/123/1.2.20-SNAPSHOT/123-1.2.20-SNAPSHOT.pom
   - https://jcenter.bintray.com/com/123/123/123/1.2.20-SNAPSHOT/123-1.2.20-SNAPSHOT.pom
 Required by:
     project :app
user2357113
  • 162
  • 2
  • 15

0 Answers0