Gradle fail to install jcenter dependencies

Bitrise Build Issue Report template

Description of the issue

When running an android build gradle can not find the jcenter dependencies.
The exact same build works fine locally

A problem occurred configuring project ':react-native-config'.
> Could not resolve all artifacts for configuration ':react-native-config:classpath'.
   > Could not resolve com.android.tools:annotations:26.1.4.
     Required by:
         project :react-native-config > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.databinding:compilerCommon:3.1.4
         project :react-native-config > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools.build:builder-model:3.1.4
         project :react-native-config > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools:common:26.1.4
         project :react-native-config > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools.analytics-library:shared:26.1.4
         project :react-native-config > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools.analytics-library:tracker:26.1.4
         project :react-native-config > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools:sdklib:26.1.4 > com.android.tools.layoutlib:layoutlib-api:26.1.4
      > Could not resolve com.android.tools:annotations:26.1.4.
         > Could not get resource 'https://jcenter.bintray.com/com/android/tools/annotations/26.1.4/annotations-26.1.4.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/android/tools/annotations/26.1.4/annotations-26.1.4.pom'.
               > Read timed out
   > Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.2.0.
     Required by:
         project :react-native-config > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > org.jetbrains.kotlin:kotlin-stdlib-jre8:1.2.0
         project :react-native-config > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.lint:lint-gradle-api:26.1.4 > org.jetbrains.kotlin:kotlin-reflect:1.2.0
      > Skipped due to earlier error
   > Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jre7:1.2.0.
     Required by:
         project :react-native-config > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > org.jetbrains.kotlin:kotlin-stdlib-jre8:1.2.0
      > Skipped due to earlier error
   > Could not resolve net.sf.proguard:proguard-base:5.3.3.
     Required by:
         project :react-native-config > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > net.sf.proguard:proguard-gradle:5.3.3
      > Skipped due to earlier error
   > Could not resolve org.apache.httpcomponents:httpclient:4.2.6.
     Required by:
         project :react-native-config > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools:sdklib:26.1.4
      > Skipped due to earlier error
   > Could not resolve org.apache.httpcomponents:httpmime:4.1.
     Required by:
         project :react-native-config > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools:sdklib:26.1.4
      > Skipped due to earlier error

Environment:

osx-xcode-12.5.x.log

Which build Step causes the issue and which version of the step?

Build log

It is working fine today. So I guess you guys found the issue

Thanks

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