Build issue on android

Here is my build error message on android.
Is there anyone who knows what should I do?

  • What went wrong:
    A problem occurred configuring project ‘:rn-fetch-blob’.

Could not resolve all artifacts for configuration ‘:rn-fetch-blob:classpath’.
Could not resolve com.android.tools.analytics-library:shared:26.2.1.
Required by:
project :rn-fetch-blob > com.android.tools.build:gradle:3.2.1
project :rn-fetch-blob > com.android.tools.build:gradle:3.2.1 > com.android.tools.build:builder:3.2.1
project :rn-fetch-blob > com.android.tools.build:gradle:3.2.1 > com.android.tools.build:builder:3.2.1 > com.android.tools.analytics-library:tracker:26.2.1
Could not resolve com.android.tools.analytics-library:shared:26.2.1.
Could not get resource ‘https://jcenter.bintray.com/com/android/tools/analytics-library/shared/26.2.1/shared-26.2.1.jar’.
Could not HEAD ‘https://jcenter.bintray.com/com/android/tools/analytics-library/shared/26.2.1/shared-26.2.1.jar’.
Read timed out
Could not resolve com.android.tools.build:bundletool:0.5.0.
Required by:
project :rn-fetch-blob > com.android.tools.build:gradle:3.2.1
Could not resolve com.android.tools.build:bundletool:0.5.0.
Could not get resource ‘https://jcenter.bintray.com/com/android/tools/build/bundletool/0.5.0/bundletool-0.5.0.jar’.
Could not HEAD ‘https://jcenter.bintray.com/com/android/tools/build/bundletool/0.5.0/bundletool-0.5.0.jar’.
Read timed out
Could not resolve com.google.errorprone:error_prone_annotations:2.0.18.
Required by:
project :rn-fetch-blob > com.android.tools.build:gradle:3.2.1 > com.android.tools.analytics-library:crash:26.2.1 > com.google.guava:guava:23.0
Skipped due to earlier error

I don’t know why… but when I changed version of building it worked.

1 Like