Install Android SDK and USB driver in Windows

Source: Internet
Author: User


Let's just talk about it.



If you want to develop the SDK, check whether JDK or eclipse is used. Download JDK and eclipse here;

After installing one of the above items (I am using JDK), download Android SDK starter: android-sdk_r05-windows.zip

This SDK starter may be updated. Visit the official website to download the latest version.

Decompress all files to a local folder, such as c: \ android. Place the Tools Folder in c: \ Android-SDK-Windows \ tools;

Add the Tools Folder as the PATH environment variable to startProgramYou do not need to enter a path.

Right-click my computer and select Properties;

Select the Advanced tab;

Click the environment variable button;

Find the path in the system variable and add "C: \ Android-SDK-Windows \ tools" to it ".

Click OK.

Start SDK setup. Double-click SDK setup.exe or enter android in cmd and press Enter.

If

Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: https SSL error. You might want to force download through HTTP in the settings ..



The solution is to go to settings and set "Force https ://... Sources to be fetched using http ://..." Check and update.


In available packages, you can see the packages that can be installed. Select 8 according to your needs. First install a USB driver so that your phone can connect to your computer. SelectUSB driver package, None of the above (only USB is installed here because the SDK platform file is large and the download process is very slow. It is said that if you switch to another window during the download, the download may fail. If you are not afraid of slowness, select all the other SDK platform packages. The update takes several hours.Install seletedButton.

Agree to the following terms and conditions, and start the download and installation.

Connect your phone to your computer with a USB cable and prompt you to find the new hardware. Install the driver. Find the required driver in c: \ Android-SDK-Windows \ usb_driver.

Android composite ADB interface is automatically installed.

After the installation is complete, a removable disk is displayed in my computer. After mounting the disk on the mobile phone, the memory of the mobile phone can be accessed.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.