Install ADB in Ubuntu

Source: Internet
Author: User
I used adb every day, but I never thought about how to install adb in Ubuntu. Today, my friends in the QQ Group asked me how to delete files from Android phones (via my computer) and I offered him a trick, I used adb to connect to my mobile phone, but he hasn't installed adb. I haven't installed it either. I 've been tossing around for a long time. It turns out that's the case. The following is the installation steps: 1, download the corresponding SDk file, web site http://dl.google.com/android/android-sdk-linux_x86-1.5_r2.zip

I used adb every day, but I never thought about how to install adb in Ubuntu. Today, my friends in the QQ Group asked me how to delete files from Android phones (via my computer) and I offered him a trick, I used adb to connect to my mobile phone, but he hasn't installed adb. I haven't installed it either. I 've been tossing around for a long time. It turns out that's the case.

The installation steps are as follows:

1. Download the corresponding SDk file, web site http://dl.google.com/android/android-sdk-linux_x86-1.5_r2.zip

2. decompress the package and put it in a directory. Set the environment variables in ~ /. Bash_profile or ~ /. Bashrc file,

I put it in bashrc and add a row.

Export PATH =$ {PATH }: <Storage directory> /Tools

Chmod 777 <Storage directory> /Tools/adb # This step may be required

3. Connect to the mobile phone and access the tools directory through the terminal. Run the command adb kill-server for the first time.

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.