I am receiving the error below upon executing cd andorid ./gradle assemble. It seems my project is missing a path to JDK how can I add/correct this?
Execution failed for task ':app:compileReleaseJavaWithJavac'.
> Could not find tools.jar. Please check that /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home contains a valid JDK installation.
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 5s
17 actionable tasks: 2 executed, 15 up-to-date
mattlaszcz@Matts-MBP android % /usr/libexec/java_home -V | grep jdk
Matching Java Virtual Machines (1):
1.8.291.10 (x86_64) "Oracle Corporation" - "Java" /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home