Execution failed for task ':capacitor-android:compileDebugJavaWithJavac' #7053
Answered
by
jcesarmobile
ivanbacher
asked this question in
Q&A
-
When running this command
I get this error:
Variables.gradle
If I run it in android studio, it works fine. Similar issue here: #7010 |
Beta Was this translation helpful? Give feedback.
Answered by
jcesarmobile
Nov 7, 2023
Replies: 1 comment 1 reply
-
for using jdk 21 you need to use gradle 8.4, which is not officially supported for android development yet |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ivanbacher
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for using jdk 21 you need to use gradle 8.4, which is not officially supported for android development yet
for android development jdk 17 is recommended