How to set 'compileDebugKotlin' task target to Java 17

28 views Asked by At

I upgraded my react-native project from expo 48 to 50 and Gradle wrapper to 8.7 after resolving some other issues I am stuck on this issue: `Execution failed for task ':expo-permissions:compileDebugKotlin'.

'compileDebugJavaWithJavac' task (current target is 17) and 'compileDebugKotlin' task (current target is 11) jvm target compatibility should be set to the same Java version.

Things I tried:

and many other things but nothing seems to help.

0

There are 0 answers