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-gesture-handler:compileDebugJavaWithJavac

See original GitHub issue

Hi there,

I’m getting this error when using this library and react-native-camera within the same project.

If I remove react-native-camera, I don’t get any erros showing up.

Capture d’écran 2019-06-05 à 15 02 19

My package.json looks like this:

{
  "name": "rnTestingApp",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest"
  },
  "dependencies": {
    "react": "16.8.3",
    "react-native": "0.59.8",
    "react-native-camera": "^2.10.0",
    "react-native-gesture-handler": "^1.3.0"
  },
  "devDependencies": {
    "@babel/core": "^7.4.5",
    "@babel/runtime": "^7.4.5",
    "babel-jest": "^24.8.0",
    "jest": "^24.8.0",
    "metro-react-native-babel-preset": "^0.54.1",
    "react-test-renderer": "16.8.3"
  },
  "jest": {
    "preset": "react-native"
  }
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:10

github_iconTop GitHub Comments

5reactions
Fausto95commented, Jun 5, 2019

This is likely because react-native-camera uses androidX

2reactions
Fausto95commented, Jun 6, 2019

I’ve also downgraded react-native-camera to version 2.9.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Execution failed for task ':react-native-gesture-handler ...
The new version is 1.3.0. Here is the error: Task :react-native-gesture-handler:compileDebugJavaWithJavac
Read more >
Execution failed for task ':react-native-gesture ... - Stack Overflow
Here is the error: > Task :react-native-gesture-handler:compileDebugJavaWithJavac C:\D\code\js\emps_app\node_modules\react-native- ...
Read more >
execution failed for task ':react-native-gesture-handler ...
Task :react-native-gesture-handler:compileDebugJavaWithJavac FAILED Deprecated Gradle features were used in this build, making it incompatible with Gradle ...
Read more >
react-native-gesture-handler - npm
Declarative API exposing platform native touch and gesture system to React Native. React Native Gesture Handler provides native-driven ...
Read more >
Execution failed for task ':react-native-gesture-handler ...
execution failed for task ':react-native-gesture-handler:compiledebugkotlin'. Add Answer | View In TPC Matrix. Technical Problem Cluster First Answered On ...
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