I’m going crazy. I’m looking at the official website and it only shows me the latest downloads for android commandline tools, which do not work.
java --version
says:
openjdk 17.0.13 2024-10-15
OpenJDK Runtime Environment (build 17.0.13+11-Debian-1deb11u1)
OpenJDK 64-Bit Server VM (build 17.0.13+11-Debian-1deb11u1, mixed mode, sharing)
when I go to run the freshly downloaded tools, jvm starts yelling at me with this error message:
sdkmanager "platform-tools" [13:43:45]
Error: LinkageError occurred while loading main class com.android.sdklib.tool.sdkmanager.SdkManagerCli
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
Obviously I need an older version of andrid commandline tools, but where can I obtain them? Scrounging the android website has yielded no results. The archive page only lists android studio downloads, but I only need the commandline stuff.
Sorry for my angry writing, but I’ve had enough. This is such a simple problem to solve. Why can’t the android people just put the download links for previous versions on the front page.
You need to sign in to view this answers