"Go" mac using adb tools

Source: Internet
Author: User

Original URL: http://www.jeffjade.com/2015/03/21/2015-03-21-android-adb/

Before the beginning of a macpro, the position also shifted to here. But the Mac by default can not use the ADB this need to solve their own, search, and Linux below the use of the same approach; need to use the Android SDK of the ADB Toolkit (fortunately, the last few days toss Android Studio installed SDK)

If you don't want to install the huge Android SDK (address: http://developer.android.com/sdk/index.html), download the ADB toolkit here: Http://dl.dbank.com/c001bzfxoe

Then unzip to any location.

Next, create a new. profile file under the current user root directory

The following commands can be typed in the terminal

cd ~touch .profile

Create a new file, and then edit the file

vim .profile

Paste as follows:

PATH=${PATH}:/Users/yunjeff/Documents/platform-tools

Where the red part is the path of the ADB tool just after decompression, replace it with your, save, restart the terminal

If you enter ADB return in the terminal, you can detect if the ADB is installed successfully. Mac is so elegant.

Of course, you can also enter the command lineopen -e .bash_profile
When this command line is finished, the edit window for the. bash_profile file is automatically ejected.

"Go" mac using adb tools

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.