Android Real-Computer debugging

Source: Internet
Author: User

Android development can use Google's own simulator to debug, but the simulator is too slow to start, too time-consuming, but if we have an Android phone, we can directly debug on the phone, so that the speed is fast;

The steps are as follows:

(1) First set the phone to debug mode:

Because I use the Meizu MX3 mobile phone, a start has not found its USB debugging where, since found, in this to record:

settings, accessibility, right drop-down find developer tools, USB debugging;

(2) Connect the computer with the data cable and install the USB driver. The general system will automatically install the driver, if not automatically installed, download a driver installation tool installed on the line, such as pea pods;

(3) Use the ADB command to test if the connection is successful;

Open the cmd command line, enter the Platform-tools directory under the SDK installation directory, and if the following occurs, the connection is successful;

  

(4) In Eclipse, select the project, right-run Run configurations, select: Always prompt to pick device (prompt to select devices);

Then click Run and you'll see our phone:

Click OK to run on the phone;

Android Real-Computer debugging

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.