Thursday, March 5, 2015

Add "adb" to your PATH (using a Mac)

ADB- Android Debug Bridge

1. Find the path to your Android/sdk/platform-tools
$pwd to get the full location path
Location: Users/android/Library/Android/sdk/platform-tools

2. Now open bash_profile,
$vi ~/.bash_profile
enter: export PATH=${PATH}:/((pathToyour_AndroidSDK))

export PATH=${PATH}:/Users/android/Library/Android/sdk/platform-tools

and save.

3. Quit terminal and Done. Now when you type $adb, the tool will work from any /dir in your mac



Reference:
adb:
http://developer.android.com/tools/help/adb.html
https://seo-michael.co.uk/how-to-setup-adb-on-os-x/

Install Android Studio:
https://developer.android.com/sdk/installing/index.html?pkg=studio

Install Java JDK, if not installed, check with $jave -version
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Add adb to path:
http://www.android.gs/install-set-up-adb-mac-os-x-linux/

1 comment: