Could not resolve org.webkit:android-jsc:+. when building and installing for android

Description

I am getting this error “Could not resolve org.webkit:android-jsc:+.” when trying to run “npm run android” this morning. It was working on Friday. Full detail below:

Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve org.webkit:android-jsc:+.
     Required by:
         project :app
      > Failed to list versions for org.webkit:android-jsc.
         > Unable to load Maven meta-data from https://jcenter.bintray.com/org/webkit/android-jsc/maven-metadata.xml.
            > Could not HEAD 'https://jcenter.bintray.com/org/webkit/android-jsc/maven-metadata.xml'.
               > Read timed out

I started a new project from scratch using npx react-native init AwesomeProject it failed with same error.

I have another project on older version of RN at 0.63.2, which can build as expected. These ones which are having issues are on 0.63.4 and 0.64.0

Seems like remote artifact repo is down to me..

React Native version:

Run react-native info in your terminal and copy the results here.

System:
OS: macOS 10.15.7
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 33.99 MB / 16.00 GB
Shell: 3.2.57 – /bin/bash
Binaries:
Node: 12.15.0 – ~/.nvm/versions/node/v12.15.0/bin/node
Yarn: 1.22.10 – /usr/local/bin/yarn
npm: 6.14.10 – ~/.nvm/versions/node/v12.15.0/bin/npm
Watchman: 4.9.0 – /usr/local/bin/watchman
Managers:
CocoaPods: Not Found
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK: Not Found
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.7042882
Xcode: 11.3.1/11C505 – /usr/bin/xcodebuild
Languages:
Java: 11.0.6 – /Library/Java/JavaVirtualMachines/jdk-11.0.6.jdk/Contents/Home/bin/javac
Python: 2.7.16 – /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.4 => 0.63.4
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. npm run android

Expected Results

Describe what you expected to happen.

It should build correctly without the issue.

2 thoughts on “Could not resolve org.webkit:android-jsc:+. when building and installing for android

  1. I just tried again and it worked for me.
    I can also confirm from Jc center status page https://status.bintray.com/ :

    Monitoring – A fix has been implemented and we are monitoring the results.
    Mar 15, 17:39 UTC
    Identified – The issue has been identified and a fix is being implemented.
    Mar 15, 17:38 UTC

    closing this issue.