Ubuntu10.10 install ADB for Android Development

Source: Internet
Author: User

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

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.