One. Connect the Android device to the computer and install the associated driver.
Two. Set the user's environment variable.
"My Computer"-->> "Properties"-->> "Advanced"-->> "Administrator's user environment variable"-->> "Path"
Click on the "Edit" button, at the end of the "Variable Value" column, enter the absolute path of the platform-tools and tools under our Installation SDK directory, in the middle
The semicolon ";" in the English input method to separate.
For example my own added string is as follows:
;D: Program Filesandroid-sdk-windows__backtools;d:program Filesandroid-sdk-windows__backplatform-tools
Three. The SDK on the computer connects to the Android device:
Press "Win+r", enter cmd, open the Command Line window, and enter: ADB devices
Four. Run our Android program on Android devices:
Start Eclipse and open the Androidtest program we wrote in the previous section, click the "Run"-->> "Run configurations ..." of the interface.
In the pop-up dialog box, click Target on the tab and select Active devices, then click the Apply button in the lower right corner.
If there is nothing wrong with the settings above, then click "Run" on the interface to see that our program is running normally on Android devices.
=================================================================================================
Record the problem: when something is done, there is always a slight deviation, and when I connect the Android device to the computer to install the driver, the load driver fails. Causing the computer to not recognize this Android device.
Solution: "My Computer"--right-click-->> Device Manager, locate the device with a yellow question mark, right-click the device, and choose Properties from the pop-up right-click menu.
Pop-up a dialog box, we choose "Detailed information", see the device this serial number is not, this is our focus.
See my circle of the red box part is to solve the driving load failure of the important breakthrough.
And then open our driver profile, and mine is: Android_winusb.inf
In Softwinner Magic The following to add our device serial number support:
The Red box section above is the content that I add, you can also according to own equipment of some relevant information to add themselves, I believe it should not be difficult.
After saving this file, and then updating the driver, the load from this directory is successful.
The above four steps must step by step, if one does not succeed, the back will not have to do.