How to connect to a real machine in ubuntu for debugging

Source: Internet
Author: User


Connection Method: (1) under ubuntu, enter Terminal, enter sudo gedit/etc/udev/rules. d/50-android.rules, and run this command to open the text editor. Paste the following text and save it. SUBSYSTEM = "usb", SYSFS {idVendor} = "0bb4", MODE = "0666" continue to run sudo chmod a + rx/etc/udev/rules at the end. d/50-android.rules: Go to the tools directory of android-sdk and execute sudo. /adb kill-server and then execute sudo. /adb devices indicates that the connection is successful. (2) Go to eclipse, right-click the project to be installed in project explorer, choose Run As> Run deployments, and change the running target to Manual ). Then Run. A message is displayed, indicating that you can select a target and select a real machine. (If no real machine is displayed, unplug the USB cable and plug it in again.) If the installation succeeds, the android application will appear on the mobile phone screen in a short time.
Author leehonpjp

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.