"Go" Mac OS X Configure ADB command method, Apple Computer set ADB command method

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.