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.

Task :react-native-webrtc:compileDebugJavaWithJavac FAILED on version 1.98.0

See original GitHub issue

Expected behavior

react-native run-android should compile the new versions 1.98.0

Observerd behavior

Failed to compile with the error: Task :react-native-webrtc:compileDebugJavaWithJavac FAILED. Reverting to 1.94.2 got it compiling.

Steps to reproduce the problem

Platform information

  • React Native version: 0.66.4
  • Plugin version: 1.98.0
  • OS:Android
  • OS version: 10
  • Environment: M1 Macbook pro

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
saghulcommented, Jun 8, 2022

Run the script: node tools/downloadWebRTC.js

0reactions
JimmyDLAcommented, Dec 7, 2022

How I solved it was by doing these 2 steps:

  1. rm -rf node_modules/
  2. npm install or yarn

The reason why you might be having this error might be caused of missing file. Reinstalling all you dependencies should fix your issue… at least it did for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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