Software required: Android platform-tools http://dl-ssl.google.com/android/repository/platform-tools_r03-linux.zip
1. DownloadDecompress the above software
# UnzipPlatform-tools_r03-linux.zip
2. Add the path to the PATH variable.
# Vim ~ /. Bashrc
# Source ~ /. Bashrc
3. Use ADB and USB cable to connect the development board to the host
#ADB Devices
The connected device is displayed.
You can use the following command to interact with the device.
# ADB push test/system/test
# ADB install test.apk
# ADB Shell
There is also a method on the internet, please refer:
Connect to the Android device through USB in Ubuntu 9.04. When using ADB, the device cannot be found. The solution is as follows:
1) Run lsusb on the terminal
Bus 001 device 008: Id 0bb4: 0c02 high tech Computer Corp.
Create a udev rule file.
Sudo Vim/etc/udev/rules. d/50-android.rules
The file content is as follows:
Subsystem = "USB", sysfs {"high tech Computer Corp." }== "0bb4", mode = "0666"
2) restart the udev service:
Sudo chmod A + Rx/etc/udev/rules. d/50-android.rules
Sudo/etc/init. d/udev restart
3) run in the tools directory of the android SDK (this step is very important and must be sudo, otherwise it will not work)
Sudo./ADB kill-Server
Run the following command to view the Android devices connected to the local device.
Sudo./ADB Devices
4) ADB can be used.
./ADB shell to get the mobile phone control terminal