Skip to content

Instantly share code, notes, and snippets.

@peter-mghendi
Last active November 6, 2025 20:23
Show Gist options
  • Select an option

  • Save peter-mghendi/9bb957b1114f92fbf3eb037689fbcf71 to your computer and use it in GitHub Desktop.

Select an option

Save peter-mghendi/9bb957b1114f92fbf3eb037689fbcf71 to your computer and use it in GitHub Desktop.
Collection of random usefiul bash commands
# Installing Android SDKs and accepting SDK license agreements for a net10.0-android project.
# Requires JDK 17 now, up from JDK 11 requirement in net9.0-android.
# Target is InstallAndroidDependencies, so this won't actualy build the project, still need to run dotnet build.
dotnet build -t:InstallAndroidDependencies -f net10.0-android "-p:AndroidSdkDirectory=/home/peter/Android/Sdk" "-p:AcceptAndroidSDKLicenses=true"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment