question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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® Core™ 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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:27 (1 by maintainers)

github_iconTop GitHub Comments

12reactions
ranrollscommented, Jan 17, 2022

Getting same issue today!

11reactions
ZeeshanAhmadKhalilcommented, Jan 17, 2022

I am getting the same error and Jcenter is down

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not resolve org.webkit:android-jsc:+ - Stack Overflow
JCenter is going to shutdown and now is READ-ONLY. And it is getting offline often causing issues with builds and pipelines. In summary....
Read more >
Installation - eo-locale
First, you need to install an NPM dependency named jsc-android by adding it to the dependencies section in your package.json , and run...
Read more >
Integration with Existing Apps - React Native
With a few steps, you can add new React Native based features, screens, views, etc. ... implementation "org.webkit:android-jsc:+"
Read more >
Android App build error - I have no idea what to do
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with...
Read more >
How to integrate react native code with an existing Android app?
All of React Native (JS, Android binaries) is installed from npm url ("$rootDir/. ... implementation "org.webkit:android-jsc:+" ... This should resolve it.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found