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.