It seems like android-platform-tools was first added to MacPorts only very recently - in, under java/android-platform-tools/Portfile: Well, after that, still wasn't working, because for some reason the route for the adb was /Users/$USER/Library/Android/sdk/platform-tools/platform-tools (yes, repeated) so I just copied the last platform-tools into the first directory with all the license files and started working. Option 3 - If you already have Android Studio installedĪdd platform-tools to your path echo 'export ANDROID_HOME=/Users/$USER/Library/Android/sdk' > ~/.bash_profileĮcho 'export PATH=$:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools' > ~/.bash_profile Refresh your bash profile (or restart your terminal app) source ~/.bash_profile Mv platform-tools/ ~/.android-sdk-macosx/platform-toolsĪdd platform-tools to your path echo 'export PATH=$PATH:~/.android-sdk-macosx/platform-tools/' > ~/.bash_profile Move them somewhere you won't accidentally delete them mkdir ~/.android-sdk-macosx Unzip the tools you downloaded unzip platform-tools-latest*.zip Go to your Downloads folder cd ~/Downloads/
#Android emulator path for mac for mac#
Navigate to and click on the SDK Platform-Tools for Mac link. This is the easiest way to get a manual installation of ADB and Fastboot.ĭelete your old installation (optional) rm -rf ~/.android-sdk-macosx/ Option 2 - Manually (just the platform tools) Install adb brew install android-platform-tools
![android emulator path for mac android emulator path for mac](https://i1.wp.com/playstoretips.com/wp-content/uploads/2019/05/Screenshot_5-6.png)
Install homebrew /bin/bash -c "$(curl -fsSL )" This is the easiest way and will provide automatic updates. Note for zsh users: replace all references to ~/.bash_profile with ~/.zshrc.
![android emulator path for mac android emulator path for mac](https://playstoretips.com/wp-content/uploads/2019/05/genymotion-android-emulator-android-studio-plugin-desktop.jpg)
Note: this was originally written on Installing ADB on macOS but that question was closed as a duplicate of this one.