FranGhe opened a new issue, #1726: URL: https://github.com/apache/cordova-android/issues/1726
I'm workig to update my app to Android14 (API-Level34) and as always when I have to update... it's a headache. This is my timing actions: 1) I updated my "android-targetSdkVersion" a 34 in config.xml > `<preference name="android-targetSdkVersion" value="34"/>` 2) I removed my old platform by "cordova platform remove android" 3) I added my new platform by "cordova platform add android" > Creating Cordova project for the Android platform: > Path: ../../myFolder/myApp/platforms/android > Package: it.myApp > Name: MyApp > Activity: MainActivity > Android Target SDK: android-34 > Android Compile SDK: 34 > Subproject Path: CordovaLib > Subproject Path: app > Android project created with cordova-android@13.0.0 4) I updated my cordova-plugins 5) I updated my JDK14 to JDK17, updated my JAVA_HOME and restart my laptop 6) I installed new Android Studio to Koala. 7) I opened Koala which compiled the project and downloaded Android Gradle Plugin 8.3.0 8) By Koala AGP Upgrade assistant I updated Android Gradle Plugin 8.3.0 to Gradle 8.7 9) By Koala SDK Manager I updated SDK Platforms and SDK Tools to Android API34 Than I build the project by "cordova build" and: > FAILURE: Build failed with an exception. > * Where: > Settings file '/Users/myName/myFolder/myApp/platforms/android/tools/settings.gradle' > * What went wrong: > Could not compile settings file '/Users/myName/myApp/platforms/android/tools/settings.gradle'. > startup failed: > General error during semantic analysis: Unsupported class file major version 61 > java.lang.IllegalArgumentException: Unsupported class file major version 61 > at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:196) > at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:177) > ... > at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56) > at java.base/java.lang.Thread.run(Thread.java:842) > 1 error > * Try: > 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 > BUILD FAILED in 971ms > Command failed with exit code 1: gradle -p /Users/myName/myFolder/myApp/platforms/android/tools wrapper --gradle-version 8.7 What's wrong? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org