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 :
- Downgrade to JAVA 11
- Update
JAVA_HOME
with newPATH
- Close and re-open terminal and try rebuild the project.
Post a Comment for "React-Native Failing To Build On Android"