You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
we have upgraded the android build with java 17 and gradle 7.3.3, and kotlin 2.0. #33837, this issue should be resolved, feel free to reopen a new case if this is still problematic. thanks
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
The text was updated successfully, but these errors were encountered: