Skip to content Skip to sidebar Skip to footer

React-Native Failing To Build On Android

I am trying to build a React Native application for Android, but getting some strange java access errors such as the one below: Execution failed for task ':react-native-gesture-han

Solution 1:

It's because you are using JAVA 16 as you mentioned above.Gradle not support this version yet. https://github.com/gradle/gradle/issues/13629#issuecomment-680042708

Answer :

  1. Downgrade to JAVA 11
  2. Update JAVA_HOME with new PATH
  3. Close and re-open terminal and try rebuild the project.

Post a Comment for "React-Native Failing To Build On Android"