I generated an ionic Angular menu for web and Android changed next to nothing (the name in ionic.config.json, and the title in index.html)
I use the ionic plugin in MS Code
Run | Android works great,
so does the comand
> ionic serve
I try the Ionic plugin
run android (and I pick pixel 5 API 29 (emulator) Android 10)
see error message starting at “What went wrong”
In the MS code terminal
> java -version
java version "24.0.1" 2025-04-15
Java(TM) SE Runtime Environment (build 24.0.1+9-30)
Java HotSpot(TM) 64-Bit Server VM (build 24.0.1+9-30, mixed mode, sharing)
I don’t know what to fix to set to a new JVM or change what I am targeting.
I got the following results:
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all artifacts for configuration 'classpath'.
> Could not resolve com.android.tools.build:gradle:8.7.2.
Required by:
root project :
> Dependency requires at least JVM runtime version 11. This build uses a Java 8 JVM.
> Could not resolve com.google.gms:google-services:4.4.2.
Required by:
root project :
> Dependency requires at least JVM runtime version 11. This build uses a Java 8 JVM.
* Try:
> Run this build using a Java 11 or newer JVM.
> 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.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.