Execution failed for task :compile. > invalid source release: 11

0
Whenever I attempt to run my project I get the following error:   > Task :clean-custom-classes > Task :compile FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compile'. > invalid source release: 11 * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --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 2 actionable tasks: 2 executed   I’ve had coworkers successfully build and run the same exact project so I know its not an issue with the app. I am working with Studio Pro 9.24.0 and my JDK directory is jdk-11.0.19.7-hotspot. Any advice on how to fix this would be appreciated.
asked
0 answers