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