FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ‘:react-native-linear-gradient:compileDebugJavaWithJavac’.
Could not find tools.jar. Please check that /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home contains a valid JDK installation.
When i upgraded to Mac os Big sur and run, npx react-native run-android I got this error(android). Done lot of solutions from stackoverflow, none of them are working.
I have created a fresh project and it’s working. Also some of the old projects are also working perfectly.
*react-native Version: "0.63.3",*
Please help me to find a solution ??????