You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: The project's Gradle version Gradle 8.14.3 is incompatible with the Gradle JVM version 25. To fix this, select a JVM version that is at least 8 and at most 24. #8705
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v9.x
Current Behavior
Create a new blank starter app using ionic start cli command
The starter app is created without any issues
Then run, ionic cap build
to generate www folder to add the android platform
android @capacitor/android@8.6.0 platform is added with any issues
Then run ionic cap open android
This opens Android Studio with JVM Version ERROR upgrade to v21 click update the update button,it fails to upgrade in Android Studio Rabbit 1 2026
Expected Behavior
The ionic cap open Android must open Android Studio with background gradle build this was wrking before in ionic v8 capacitor v6.
Steps to Reproduce
Create a new blank starter app using ionic start cli command
The starter app is created without any issues
Then run, ionic cap build
to generate www folder to add the android platform
android @capacitor/android@8.6.0 platform is added with any issues
Then run
``
ionic cap open android
Another, observation is that the Cordova packages are still shown in the Android Studio as external libraries though it is a ionic v9 capacitor v8 project ???? unlike for iOS its a SPM package by default.
This is very frustrating being a Ionic fan since the PhoneGap Days and forcing me to switch to (KMP) Jet Pack Compose from now on.
Hey @edocbuhtig! Sorry you ran into this, that's a frustrating on a new project for sure. The Gradle version and the capacitor-cordova-android-plugins module both come from the Android project that @capacitor/android generates, so this isn't something we can fix in Ionic Framework. I'm going to transfer this over to the Capacitor repo so the right team can take a look.
In the meantime, I think pointing Android Studio's Gradle JDK at JDK 21 (Settings > Build, Execution, Deployment > Build Tools > Gradle) should get you building again, since Gradle 8.14.3 doesn't support the JDK 25 that ships with Android Studio.
Activity
ShaneK commentedon Nov 9, 2026
Hey @edocbuhtig! Sorry you ran into this, that's a frustrating on a new project for sure. The Gradle version and the
capacitor-cordova-android-pluginsmodule both come from the Android project that@capacitor/androidgenerates, so this isn't something we can fix in Ionic Framework. I'm going to transfer this over to the Capacitor repo so the right team can take a look.In the meantime, I think pointing Android Studio's Gradle JDK at JDK 21 (Settings > Build, Execution, Deployment > Build Tools > Gradle) should get you building again, since Gradle 8.14.3 doesn't support the JDK 25 that ships with Android Studio.