Build an Eclipse Android development environment in Ubuntu 12.04

Source: Internet
Author: User
Tags lenovo

After Ubuntu 12.04 is installed, install eclipse. After installing and downloading eclipse, decompress the package and install jdk.

Adt installation because I am a telecommunications network, I cannot connect to google's Development Network during installation.

Https://dl-ssl.google.com/android/eclipse/, modify the hosts file at: /etc/hosts. Add:

74.125.237.1 dl-ssl.google.com

Then you can install adt smoothly.

After the adt and sdk are installed, my mobile phone Lenovo A750 cannot be correctly identified ????????????

Open the terminal and run:

Lsusb

This is my computer display:

Bus 001 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087: 0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087: 0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 062a: 4101 Creative Labs
Bus 001 Device 004: ID 5986: 0292 Acer, Inc
Bus 002 Device 003: ID 1c7a: 0603 LighTuning Technology Inc.
Bus 002 Device 004: ID 0489: e00d Foxconn/Hon Hai
Bus 002 Device 005: ID 0133: 0139 Realtek semiconducorp.
Bus 002 Device 008: ID 17ef: 7435 Lenovo

The last one is my mobile phone.

 

Then run on the terminal

Sudo gedit/etc/udev/rules. d/50-android.rules

Edit the following lines: SUBSYSTEM = "usb", SYSFS {"Lenovo" }== "17ef", MODE = "0666"

Run

Sudo chmod 777/etc/udev/rules. d/50-android.rules

Sudo/etc/init. d/udev restart

Finally, run platform-tools in the tools directory of the android sdk.

Sudo./adb kill-server

Sudo./adb devices

Open eclipse again, OK, and you can see that my A750 mobile phone is displayed normally.

Related reading: Ubuntu 12.04 builds an Android Development Environment

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.