Skip to content

Instantly share code, notes, and snippets.

@anotherlab
Last active September 18, 2024 21:46
Show Gist options
  • Save anotherlab/364e3805d9ea56b574b394127acc9aa6 to your computer and use it in GitHub Desktop.
Save anotherlab/364e3805d9ea56b574b394127acc9aa6 to your computer and use it in GitHub Desktop.
Quick little PowerShell script to add the ADB tools to the path
## Edit to match the path where you have Android SDK tools installed
if ($env:Path -NotMatch "Android\\android-sdk\\platform")
{
write-host "Adding Android SDK Platform tools to path"
$env:Path += ";${env:ProgramFiles(x86)}\Android\android-sdk\platform-tools"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment