Native Builder with 9.24.22 gives this error (all default template and configs)- Android Gradle plugin requires Java 11 to run

0
For the native mobile app in Mx 9.24.21 / 9.24.22 the native builder is giving this build error. I tried few things but those didnt help. (e.g. edited config files; added JAVA_HOME in 'App Center') Even the build for local is failing. It seems Native Builder tool is broken in 9.24.22 Any pointers are welcome.   Logs: > Configure project :appProject app at :app is either no Android app project or build version has not been set to override. Skipping...FAILURE: Build failed with an exception.* Where:Build file '/Users/runner/work/1/s/android/app/build.gradle' line: 1* What went wrong:A problem occurred evaluating project ':app'.> Failed to apply plugin 'com.android.internal.application'.   > Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.     Your current JDK is located in  /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/8.0.402-6/x64/Contents/Home/jre     You can try some of the following options:       - changing the IDE settings.       - changing the JAVA_HOME environment variable.       - changing `org.gradle.java.home` in `gradle.properties`.
asked
0 answers