Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
Error: LinkageError occurred while loading main class com.android.sdklib.tool.sdkmanager.SdkManagerCli
2023-10-19 18:06:03 WARNING java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/sdkmanager/SdkManagerCli has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
sdkmanager requires Java 17, but script uses gradle 7.1.1 which does not support java 17.
How to solve this issue?
Build issue(s)
I installed the latest command line tools I installed Java 11
When I run the following the command:
./scripts/build/build_examples.py --target android-arm64-chip-tool build
I got the following error:
Error: LinkageError occurred while loading main class com.android.sdklib.tool.sdkmanager.SdkManagerCli 2023-10-19 18:06:03 WARNING java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/sdkmanager/SdkManagerCli has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
sdkmanager requires Java 17, but script uses gradle 7.1.1 which does not support java 17. How to solve this issue?
Platform
No response
Anything else?
No response