One
1, the SDK download: http://tools.android-studio.org/index.php/sdk/recommended download zip format file, download unzip can
2. In the extracted SDK file, find "Platform-tools" and "Tools" and copy and paste the two paths into the PATH environment variable.
How to add an environment variable:
2-1. Click the Microsoft logo on the lower left corner of the computer.
2-2, find "Computer" right click, in the Popup box, click "Properties";
2-3, in the pop-up window, click on "Advanced system Settings";
2-4, in the advanced, click on the "Environment variable";
2-5. Locate path in the "system variable" below the Open environment Variables window, and return to the 2nd step.
3, verify that the SDK is configured successfully, open cmd, input adb, if a lot of English, indicating the environment variable configuration success;
As in the previous steps, it is not difficult to configure the SDK environment variables. But do not rule out following the steps above, the cmd input adb prompt is not an internal command or an external command. This is actually caused by the absence of adb.exe files (usually missing in the Platform-tools file) in the "Platform-tools" and "Tools" files under the SDK.
Two
1. Add Adb.exe file Method one:
Open the SDK Manager and download or update the Platform-tools package (this method may not be reliable because the FQ is unsuccessful and cannot be downloaded);
2. Add Adb.exe file Method two:
2-1, direct to: http://tools.android-studio.org/index.php/sdk/This site download Platform-tools package (recommended to bookmark this URL, this site is very friendly, sharing a lot of Android toolkit, Thanks a bit)
2-2. Unpack the downloaded package and put it in the SDK directory (if you already have a Platform-tools folder, put the downloaded file into the folder)
2-3. If you have not previously added the Platform-tools directory to the environment variable, do so at the first step above.
SDK environment variable configuration and ADB is not an internal or external command cause analysis