Android Real-Machine debugging process

Source: Internet
Author: User

Recently wanted to write Android projects, so to do Android real-computer testing, my experience to share.

One, Android phone settings

The first thing you want to do for Android real-computer testing is a phone-side license, by turning on USB debugging. Different phone methods may vary, single purpose is to turn on USB debugging options, my machine is: set-up developer Options-->usb Debug

Second, check whether the driver of the phone on the computer is installed

My system is win8.1 view mode is in the device settings to see if there is no Android, such as:

If you do not see the Android device description driver is not installed, you can download the Pea pod on the computer side and try again.

Third, use the ADB command to test whether the device is connected

Command:ADB devices

If the input command shows that it is not an internal command or executes a program, you need to enter the command in the CD-to-adb directory.

Four, everything's ready. Start Real Machine Commissioning

Select run--> Run configurations in eclipse

Click on the left Android application dropdown, below if you do not have items on the top left corner of the new button

Next, under the Android tab on the right, click Browse to select your Android project.

Then click on the Target tab, select Launch an all compatible DEBICES/AVD ' s dropdown select Active devices , then click Run to OK

I hope these are helpful to you, if you have any questions, you can add me qq:1076996455 discussion

Android Real-Machine debugging process

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.