Android development: How can I download an eclipse application to a smart machine ?? (The development environment is Linux)

Source: Internet
Author: User

1. First, check the idvendor that can only be used on the machine, which can be found at http://developer.android.com/tools/device.html. My computer is Huawei's intelligent machine u9200, so idvendor =12d1

2, # cd/Etc/udev/rules. d/, Go to this folder, and then# Gedit51-android.rulesCreate a file named 51-android.rules, and enter:

SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0666", GROUP="plugdev", Symlink + = "android_adb"

(Refer to http://developer.android.com/tools/device.htmlto go to http://210.38.138.176/archiver /? Tid-36.html)

Note: Set idvendor to your own smartphone.

Save the settings.

3. Modify permissions. #Chmod A + R/etc/udev/rules. d/51-android.rules

4. Click RUN configuration of Eclipse, select target, and click manual.

Note: Only one USB driver can be installed in windows.

 

Supplement: if it is a development environment in Windows, you need to install two things.

One is Google's USB driver, http://developer.android.com/sdk/win-usb.html#topcan download the offline installation package and click Download Google USB driver. Or use the SDK to download the SDK online.

The installation method is as follows:


Windows XP

To install the android USB driver on Windows XP for the first time:

  1. Connect your Android-powered device to your computer's USB port. Windows will detect the device and launch the hardware Update Wizard.
  2. SelectInstall from a list or specific locationAnd clickNext.
  3. SelectSearch for the best driver in these locations; UN-CheckSearch removable media; And checkInclude this location in the search.
  4. ClickBrowseAnd locate the USB driver folder. (The Google USB driver is located in<sdk>\extras\google\usb_driver\.)
  5. ClickNextTo install the driver.

Or,UpgradeAn existing Android USB driver on Windows XP with the new driver:

  1. Connect your Android-powered device to your computer's USB port.
  2. Right-click onMy computerFrom your desktop or Windows Explorer, and selectManage.
  3. SelectDevice ManagerIn the left pane.
  4. Locate and expandAndroid phoneIn the right pane.
  5. Right-clickAndroid composite ADB InterfaceAnd selectUpdate driver. This will launch the hardware Update Wizard.
  6. SelectInstall from a list or specific locationAnd clickNext.
  7. SelectSearch for the best driver in these locations; UN-CheckSearch removable media; And checkInclude this location in the search.
  8. ClickBrowseAnd locate the USB driver folder. (The Google USB driver is located in<sdk>\extras\google\usb_driver\.)
  9. ClickNextTo upgrade the driver.

 

Another is the various manufacturers of mobile phone drivers, the list here: http://developer.android.com/tools/extras/oem-usb.html

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.