Install-missing-android-tools@2.1.1 Could not find intellij-core.jar

react-native
android

#1

Bitrise Build Issue Report template

Description of the issue

Suddenly, all our android builds started to generate the bizarre errors in the workflow “install-missing-android-tools” step.

Environment:

Docker, on Ubuntu 16.04 Android Docker, on Ubuntu 16.04
install-missing-android-tools@2.1.1

Build log

Ensure required Android SDK components
Searching for missing SDK components using:
$ ./gradlew “dependencies”
Failed to find missing components, retrying…
Searching for missing SDK components using:
$ ./gradlew “dependencies”
Failed to find missing components, retrying…
Searching for missing SDK components using:
$ ./gradlew “dependencies”
FAILURE: Build failed with an exception.

Could not resolve all files for configuration ‘:classpath’.
Could not find intellij-core.jar (com.android.tools.external.com-intellij:intellij-core:26.0.1).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/external/com-intellij/intellij-core/26.0.1/intellij-core-26.0.1.jar

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  • Get more help at https://help.gradle.org
    BUILD FAILED in 0s
    exit status 1

#2

Hi @fca-mobile-latam,

Unfortunately this is due to an ongoing jcenter issue, (the existence of which you can confirm by trying to open the link in the error message.)

In most cases, you can resolve this by editing the repository section of your build.gradle in the root of your repository so that google() is the first entry there.


#3

Thanks Bence! Worked…

=)
Matheus


RN Android builds locally but Bitrise fails with "Could not find play-services-tasks-license.aar"
#4

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