Premise: Android development environment has been set up, with Huawei Glory 3X Play version for example.
1, the mobile phone using data cable connected to the computer, connected to the computer, at present, Jinshan, 360, and other anti-virus software has a mobile phone assistant, automatically install the driver (no antivirus software Download Driver wizard, automatic installation).
Installation of the driver can be seen in the computer's device management (if not connected to the mobile phone may show that the driver is not normal, after connecting to normal), such as:
2. Turn on phone settings-"About mobile (slide to the last)-" Click the version number multiple times, you can enable the developer mode, after enabling the developer option is visible in the settings, other brands of Android phone settings should be directly with the developer option, enabled.
3. Open Eclipse, menu bar-window-"Show view-" devices, you should be able to see your phone in the list, such as:
4, run the program, will be prompted to select the device, select Mobile Phone (online means mobile phone, available), such as: