Hacker News new | ask | show | jobs
by MaXtreeM 637 days ago
> curl -k "https://dl.google.com/android/repository/commandlinetools-li..." -o commandlinetools-linux.zip

unzip somewhere, set path variable

> yes | sdkmanager --licenses && sdkmanager "platform-tools" && sdkmanager "ndk-bundle" && sdkmanager "build-tools;33.0.0" "platforms;android-33"

1 comments

This is better indeed, but from recollection last time I tried this.. I think that still requires a full OpenJDK installation and I believe those `sdkmanager` commands install multiple GB of tools sadly.
Yes to both OpenJDK and large size.