In the development process of Android applet, using virtual machine in Eclipse to develop program is slow, and real machine development can greatly improve the speed of debugging.
Here I use the operating system is Win7 Professional version, mobile phone model hm1s;
The main steps for USB debugging include setting the phone to USB debug mode, installing the driver on the Windows system, and setting it in ADT.
Here is a detailed description of the steps:
① Phone Settings: Settings, developer options, tick "USB debugging".
② Install the driver: Connect the phone and computer with the data cable, if the Windows system installed "360 phone assistant" or "Pea pod", will automatically install the driver for the phone, confirm the installation, and restart the computer.
③ Open the command line to confirm that the driver is installed.
The driver has been successfully installed.
④ configuration in the ADT tool
Menu bar Run->run Configurations
Select the Target tab, tick "Always prompt to pick device" and select Apply, Close in the lower right corner
⑤ Run Program: Select Project, right-click->run as--applications
Then pop up the window:
Click OK to run the program.