Sdkmanager - Linux - No available releases for linuxmint19

I am using LinuxMint 19 which is based on Ubuntu 18.04. Previously I could execute

export LSB_ETC_LSB_RELEASE=/etc/upstream-release/lsb-release

and then run sdkmanager just normally. That is no longer working in version 1.7.0.8846.

How can I run sdkmanager on LinuxMint 19 now?

The Linux Mint is not officially supported by SDKM, could you try with Ubuntu directly?

Thanks

1 Like

Mint is based on Ubuntu. But here is the solution.

make a copy of your file: /etc/os-release which is probably a link to /usr/lib/os-release

Then edit the file like this:

--- /usr/lib/os-release	2018-02-12 19:21:45.000000000 +0100
+++ /usr/lib/os-release.sdkmanager	2021-11-15 10:47:37.818237598 +0100
@@ -1,9 +1,9 @@
 NAME="Linux Mint"
 VERSION="19 (Tara)"
-ID=linuxmint
+ID=ubuntu
 ID_LIKE=ubuntu
 PRETTY_NAME="Linux Mint 19"
-VERSION_ID="19"
+VERSION_ID="18.04"
 HOME_URL="https://www.linuxmint.com/"
 SUPPORT_URL="https://forums.ubuntu.com/"
 BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.