Bitrise Build Issue Report template
Description of the issue
Our Android builds recently started failing early on when it’s trying to install the Android tools.
Here’s the error for the step:
+------------------------------------------------------------------------------+
| (2) install-missing-android-tools |
+------------------------------------------------------------------------------+
| id: install-missing-android-tools |
| version: 2.2.0 |
| collection: https://github.com/bitrise-io/bitrise-steplib.git |
| toolkit: go |
| time: 2018-06-07T16:42:18Z |
+------------------------------------------------------------------------------+
| |
INFO[16:42:18] Start installing (golang) with apt-get
INFO[16:42:18] * [OK] Step dependency (go) installed, available.
Configs:
- GradlewPath: android/gradlew
- AndroidHome: /opt/android-sdk-linux
Preparation
Set executable permission for gradlew
Initialize Android SDK
Ensure android licences
Ensure required Android SDK components
Retrying...
Failed to ensure android components, error: output: To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html.
Incremental java compilation is an incubating feature.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Could not find common.jar (android.arch.core:common:1.1.0).
Searched in the following locations:
https://jcenter.bintray.com/android/arch/core/common/1.1.0/common-1.1.0.jar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 11.16 secs
error: exit status 1
| |
+---+---------------------------------------------------------------+----------+
| x | install-missing-android-tools (exit code: 1) | 300 sec |
+---+---------------------------------------------------------------+----------+
| Issue tracker: ...bitrise-steplib/steps-install-missing-android-tools/issues |
| Source: ...://github.com/bitrise-steplib/steps-install-missing-android-tools |
+---+---------------------------------------------------------------+----------+
Note that the .jar is not found here: https://jcenter.bintray.com/android/arch/core/common/1.1.0/
However, the .jar is found here: https://jcenter.bintray.com/android/arch/core/common/1.1.1/
Environment:
Where did the issue happen?
Android & Docker, on Ubuntu 16.04
Step: install-missing-android-tools
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) : NO
-
Does a rebuild without caches help? (You can remove the
Cache:Pull
andCache:Push
steps temporarily to not to use the cache, or you can delete all the caches on theSettings
tab of the app. : NO - Does the issue happen sporadically, or every time? : Every time
- Does upgrading the build Step to the latest version help? : NO
- When did the issue start? : Today, June 7th
Local reproduction: Linux / Android (docker based) stack builds
I admit I have not tried this.