Skip to content

Instantly share code, notes, and snippets.

@mofakhamr
mofakhamr / android_sdk_wsl2.sh
Created March 7, 2025 22:26
Parametized version of Android sdk for wsl2
# Set your preferred android version
ANDROID_VERSION=34
# Down on this page, you can download the latest sdk, grab the url from
# the network console after you've accepted the T&Cs
# https://developer.android.com/studio#command-tools
SDK_TOOLS=commandlinetools-linux-11076708_latest.zip
# Choose a java version, I prefer openjdk
JAVA_VERSION=21