So you take a stock LTS Ubuntu, grab an Android SDK, and try to activate the SDK license with the provided tool. It crashes.
The fix is as easy as "export JAVA_OPTS='-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee'"
Dumpster fire eco system, really.
Conversation
Replying to
Fav because we encountered this issue this week in our DevOps group. So cumbersome...
1
1
1
It still expects Java 8, largely due to Oracle deciding that Java 9 and Java 10 wouldn't receive long-term support. Java 9 is already end-of-life.
They also use Python 2 even though it's end-of-life in 9 months and it will also break on systems with /usr/bin/python as Python 3.
1
1
I give it an environment with Python 2 and Java 8 rather than trying to use it in an unsupported one. Chromium has the same lack of the long overdue migration to Python 2. I run into these issues with the Python and Java ecosystems quite a bit and it wastes a ton of my time.


