GitHub user Cozmoz added a comment to the discussion: Android build failing 
before launch

Thanks for the prompt response Norman, I've updated my software as follows:

- Android Studio Meerkat Feature Drop | 2024.3.2 Canary 6
- Gradle 8.13
- Java 8
- Java SE Development Kit 23.0.2

I am not running a VPN and am getting the following error:

```
Checking Java JDK and Android SDK versions
ANDROID_HOME=undefined (recommended setting)
ANDROID_SDK_ROOT=C:\Users\username\AppData\Local\Android\Sdk (DEPRECATED)
Using Android SDK: C:\Users\username\AppData\Local\Android\Sdk
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be 
reused, use --status for details

BUILD SUCCESSFUL in 28s
1 actionable task: 1 up-to-date
Subproject Path: CordovaLib
Subproject Path: app
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be 
reused, use --status for details

FAILURE: Build failed with an exception.

* What went wrong:
BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' 
Unsupported class file major version 67
> Unsupported class file major version 67

* 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 25s
Command failed with exit code 1: 
C:\Users\username\Dropbox\Projects\RK\projectname\platforms\android\tools\gradlew.bat
 cdvBuildDebug

```
If you can recommend software versions that work together I would happily 
uninstall what I have and start fresh. Thanks.


GitHub link: 
https://github.com/apache/cordova/discussions/527#discussioncomment-12366621

----
This is an automatically sent email for issues@cordova.apache.org.
To unsubscribe, please send an email to: issues-unsubscr...@cordova.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to