Http://www.myexception.cn/operating-system/1636963.html
The steps are as follows:
1. Start Terminal Terminal (if you already have a. bash_profile file under the current User folder, skip directly to 5)
2. Go to the current user's HOME directory (command line input echo $HOME)
3. Create a. Bash_profile (command line Input touch. Bash_profile)
4. Open the. bash_profile file (command line input open-e. bash_profile)
5. Edit the. bash_profile file
Enter in the. bash_profile file
Export path=/users/jiandan/dev_android/adt-bundle-mac-x86_64-20130729/sdk/platform-tools/: $PATH
Note: many articles have been searched on the internet, most of which are written by Path=${path}:/eclipse/android_sdk/platform-tools (this explains
is: If you need to add a lot of commands to the path, you need to use ":" (colon) to separate, because Android and adb these commands are in different
folder, in order to have both.), without the last face: $PATH, I repeated n times to create a delete. bash_profile file, also copy
Paste n times path=${path}:/eclipse/android_sdk/platform-tools, is not configured.
6. Save the file and close the. Bash_profile
7. Update the environment variables you just configured
Enter source. bash_profile
8. Verify that the configuration is successful
ADB shell
"Go" Mac OS X Configure ADB command method, Apple Computer set ADB command method