Execution failed for task ':capacitor-android:compileDebugJavaWithJavac' #7053
-
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.
Replies: 2 comments 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.
-
|
Beta Was this translation helpful? Give feedback.
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