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

How can I run sdkmanager on LinuxMint 19 now?

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


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)"
 PRETTY_NAME="Linux Mint 19"
1 Like

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