Eclipse wireless debugging (using the ADB tool), eclipseadb

Source: Internet
Author: User

Eclipse wireless debugging (using the ADB tool), eclipseadb

First: 1. Your mobile phone must have the ROOT permission to install the ADB tool; 2. Enable WLAN (WIFI) on the mobile phone );

(1) install the ADB tool;

(2) Add the environment variable PATHA; (My ADB path is: D: \ adt-bundle-windows-x86_64-20140321 \ sdk \ platform-tools ;)

(3) run the installed ADB program, set the port number (which must be unique), and then click "wireless Adb switch". After the check, the IP address and port number are displayed;

(4) run the cmd command to connect to the mobile phone. cmd-> adb connect 192.168.1.7 and press Enter. The connection is successful;

(5) display wireless device: Eclipse-windows-show view-other-devices


I have installed a wireless ADB in the past few days. How can I open ADB in eclipse?

1 create a notebook with the following content @ echo offtitle terminal cd/d C: \ Users \ fly \ Desktop (you can write the directory you want here) cmd/k2, save, and rename xxx. bat3. Double-click the bat button to jump to the specified directory extension. 4. If you want the shortcut key to be operated, create a shortcut for the bat, right-click the shortcut, and set the shortcut key, you can use the shortcut key. Supplement: Why is directory cutting required when adb is used by the landlord? Didn't you specify the environment variable? Configure the tool directory under the sdk to the environment variable. Do not execute adb in cmd of any directory?

How can I use adb to view program output information after installing an application on an android real machine (not directly debugging from Eclipse )?

You can directly view the output information in the Logcat view of Eclipse. The debug information is actually displayed. If you want to view the system. out. print information, you can create a filter.




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.