# Builds are failing when downloading the Android app module dependencies for the first time

**URL:** <https://discuss.bitrise.io/t/builds-are-failing-when-downloading-the-android-app-module-dependencies-for-the-first-time/10283>\
**Category:** Builds\
**Created:** [September 19, 2019, 1:36pm UTC](https://discuss.bitrise.io/t/builds-are-failing-when-downloading-the-android-app-module-dependencies-for-the-first-time/10283 "2019-09-19T13:36:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thread](https://avatars.discourse-cdn.com/v4/letter/t/9e8a1a/32.png) [@thread](https://discuss.bitrise.io/u/thread)\
**Post date:** [September 19, 2019, 1:36pm UTC](https://discuss.bitrise.io/t/builds-are-failing-when-downloading-the-android-app-module-dependencies-for-the-first-time/10283/1 "2019-09-19T13:36:50Z")

</div>

# Bitrise Build Issue Report template

## Description of the issue

Builds are failing when downloading the Android app module dependencies for the first time.

## Environment:

[Bitrise.io](http://Bitrise.io): stack Android & Docker on Ubuntu 16.04

If on [Bitrise.io](http://Bitrise.io): which stack? If not on [Bitrise.io](http://Bitrise.io): on what operating system? (Plus any other information you can share)

On Gradle build while downloading the app module dependencies.

E.g.: Git Clone v3.6.0

## Reproducibility

- _Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build)_ : YES
- _Does a rebuild without caches help? (You can remove the `Cache:Pull` and `Cache:Push` steps temporarily to not to use the cache, or [you can delete all the caches on the `Settings` tab of the app](http://devcenter.bitrise.io/caching/about-caching/#downloading-and-deleting-caches)._ : YES/NO
- _Does the issue happen sporadically, or every time?_ : sporadically
- _Does upgrading the build Step to the latest version help?_ :NO
- _When did the issue start?_ :

### Local reproduction

_Can it be reproduced on your own Mac/PC by following our [local debug guide](http://discuss.bitrise.io/t/how-to-debug-your-build-locally-it-works-on-my-mac-pc-but-not-on-bitrise-io/392)? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what [bitrise.io](http://bitrise.io) will get when it does a git clone in the clean environment! If possible please note which sections you tried._

### Local reproduction: Linux / Android (docker based) stack builds

_Can it be reproduced by running the build locally, after doing a new git clone of the repository into the `/tmp` directory and running the build from there with the Bitrise CLI ( [Bitrise CLI](https://www.bitrise.io/cli) )? If no, can it be reproduced with Docker (using the same docker images / environment we use on [bitrise.io](http://bitrise.io))? Related guide: [Running your build locally in Docker](http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/) ._

## Build log

Download [https://jcenter.bintray.com/com/squareup/okio/okio/1.15.0/okio-1.15.0.pom](https://jcenter.bintray.com/com/squareup/okio/okio/1.15.0/okio-1.15.0.pom)  
Download [https://jcenter.bintray.com/com/squareup/okio/okio-parent/1.15.0/okio-parent-1.15.0.pom](https://jcenter.bintray.com/com/squareup/okio/okio-parent/1.15.0/okio-parent-1.15.0.pom)  
Download [https://jcenter.bintray.com/com/amazonaws/aws-android-sdk-core/2.10.0/aws-android-sdk-core-2.10.0.pom](https://jcenter.bintray.com/com/amazonaws/aws-android-sdk-core/2.10.0/aws-android-sdk-core-2.10.0.pom)  
:app:checkReleaseClasspath FAILED

FAILURE: Build failed with an exception.

- What went wrong:  
Could not resolve all dependencies for configuration ‘:app:releaseCompileClasspath’.

> Could not determine artifacts for com.github.instacart.truetime-android:library-extension-rx:3.4: Skipped due to earlier error

- Try:  
Run with --info or --debug option to get more log output. Run with --scan to get full insights.

- Exception is:  
org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ‘:app:releaseCompileClasspath’.  
at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.wrapException(ErrorHandlingConfigurationResolver.java:96)  
at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolveGraph(ErrorHandlingConfigurationResolver.java:68)  
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$4.run(DefaultConfiguration.java:494)  
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)  
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)

---

<div class="post-metadata">

**Author:** ![bitce](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/bitce/32/1639_2.png) [@bitce](https://discuss.bitrise.io/u/bitce)\
**Post date:** [September 19, 2019, 1:48pm UTC](https://discuss.bitrise.io/t/builds-are-failing-when-downloading-the-android-app-module-dependencies-for-the-first-time/10283/2 "2019-09-19T13:48:53Z")

</div>

Hi @thread, can you please include a build URL we could take a look at?

---

<div class="post-metadata">

**Author:** ![thread](https://avatars.discourse-cdn.com/v4/letter/t/9e8a1a/32.png) [@thread](https://discuss.bitrise.io/u/thread)\
**Post date:** [September 20, 2019, 7:53am UTC](https://discuss.bitrise.io/t/builds-are-failing-when-downloading-the-android-app-module-dependencies-for-the-first-time/10283/3 "2019-09-20T07:53:49Z")

</div>

> **[Bitrise - Mobile Continuous Integration and Delivery](https://app.bitrise.io/users/sign_in)**
>
> Android, iOS & cross-platform mobile continuous integration / delivery, with 200+ integrations. Sign up and start building (for free!) today.

---

<div class="post-metadata">

**Author:** ![bitce](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/bitce/32/1639_2.png) [@bitce](https://discuss.bitrise.io/u/bitce)\
**Post date:** [September 20, 2019, 7:56am UTC](https://discuss.bitrise.io/t/builds-are-failing-when-downloading-the-android-app-module-dependencies-for-the-first-time/10283/4 "2019-09-20T07:56:23Z")

</div>

Thanks, @thread, I believe I just discussed this with a teammate of yours on our chat.

In summary, the dependency that is failing to download for you guys is hosted on JitPack which service was having an intermittent outage for over a week. Unfortunately, this information isn’t displayed or noted by them anywhere, so it’s understandably confusing.

So this is a duplicate of this thread: [Build fails (ArtifactResolveException)](http://discuss.bitrise.io/t/build-fails-artifactresolveexception/10216/9)

And here you can find a thread with more info and possible workaround: [https://github.com/jitpack/jitpack.io/issues/3973](https://github.com/jitpack/jitpack.io/issues/3973)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [October 20, 2019, 7:56am UTC](https://discuss.bitrise.io/t/builds-are-failing-when-downloading-the-android-app-module-dependencies-for-the-first-time/10283/5 "2019-10-20T07:56:25Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
