After setting up the android development environment, it is no problem to use the simulator to run the android program. However, after connecting the mobile phone to the computer with a USB, the computer does not recognize it, and eclipse does not recognize it. The reasons are as follows:
1. the USB debugging function is not enabled on the mobile phone. solution:
Set-Application-Development-select "USB debugging"
2. The driver of the mobile phone is not installed on the computer. solution:
Start Android SDK and AVD manager, click available packages on the left, click "+" in front of third party add-ons, select Google USB driver package, and select install selected, in the pop-up choose packages to instal dialog box, select accept all and click "Install" to download the USB driver.
After the download is successful, you should go to the extras folder. In the Device Manager of your computer, right-click your mobile phone device, select Update driver, and select Browse driver files on your computer ", fill in the downloaded USB driver path and click the next part to complete the installation.
3. the driver cannot be installed or the mobile phone device cannot be found. solution:
Directly install the pea pod on your computer. After you connect your mobile phone, the pea pod automatically installs the corresponding driver for your mobile phone...
Note: After the pods are installed, disable startup related to the pods. Otherwise, the ADB will be used, causing exceptions after eclipse is started (see the previous article) and the program cannot be run.