Android development is easy to debug on a real machine or eventually to a real machine, as follows:
1. Install USB drive
Mobile phone to be able to connect with the computer, of course, to Ann Drive. The effect is that you insert the phone, the computer display driver has been identified.
Official Tutorials Overview:
Different Android phones have different drivers for Nexus one, and Nexus S, see the official tutorial "downloading the Goolge USB Driver" section, installed directly with the Android SDK and AVD Manager. For other mobile phones such as Htc,acer,motorola, Sony and so on to the corresponding mobile phone company's website up and down drive.
There are a lot of mobile phone drivers are packaged in the form of a mobile phone manager, such as HTC, you need to install the 91 mobile phone assistant like the PC synchronization client, in order to connect with the phone. For example, I developed a mobile phone is HTC, its driver (client) is HTC Sync:http://www.htc.com/cn/supportdownloadlist.aspx?p_id=319&act=sd&cat=all
2, set up the Android phone for USB debugging mode
Step: Menu-> Setup-> Application-> development, select "USB Debugging"
3, through Eclipse on the true machine test
Using Eclipse to develop Android programs is a bit of run, and then run the simulator. Install a mobile phone USB drive, or point run, the program will magically run on the real machine, the effect of the same as in the simulator, very simple, and faster than with the simulator block a lot.
If there is no effect or runs on the emulator, in Eclipse:
Right-->run As->run Configurations->target
Check out the virtual machine option, and then run it, and if the previous driver is installed correctly, eclipse will let you choose to run with that device (there is a real machine and your virtual machine to choose from), then select the real machine.
4, Release
The Bin folder under the Android Engineering folder generates XXXXX.APK after the build is successful, and is an executable Android program that you can install on your own with any phone sync tool like installing other Android programs. Then you can run it by finding your project icon in the Android app directory.