Most of the time, due to network speed or other reasons, you cannot directly download and install Android Development Kits online on the IDE, especially MyEclipse. It is easy to die when you open the software management center. In this case, you can download the ADT and Android SDK packages from other websites, and then integrate the Android development environment into the IDE using offline installation.
(You must first have an IDE, whether it is Eclipse or MyEclipse, and configure jdk. It is not described here)
Step 1: manually download the Android ADT package and Android SDK package online.
Step 2: integrate ADT into IDE.
(1) For Eclipse, the required version is 3.5.2 or later. Open two folders, one to open the Eclipse package, and the other to open the Android ADT package. Copy all the jar files under the plugins package under the Android ADT package to the plugins package under the Eclipse directory, copy all the jar files in the features package under the Android ADT package to the features package under the Eclipse directory.
(2) For MyEclipse, also open two folders, first open the MyEclipse package (the default path is "C: \ Users \ Administrator \ AppData \ Local \ Genuitec \ MyEclipse-8.6 "), find the dropins package (if not, create one) and enter. Create a new package, name it android, enter the android package, and create a new package named eclipse; in addition, open the Android ADT package, copy the plugins package and features package, and copy them to the eclipse package just created under the MyEclipse package (the structure of the MyEclipse package should be: "C: \ Users \ Administrator \ AppData \ Local \ Genuitec \ MyEclipse-8.6 \ dropins \ android \ eclipse ", under which plugins and featu Res. The red part is newly created ).
Step 3: Open IDE (whether Eclipse or MyEclipse), click "Window --> Preferences" in sequence, and click the Android directory on the left in the pop-up dialog box. The SDK Location text input box appears on the right, click Brower and select your Android SDK path. For example, if my Android SDK path is "D: \ Android \ android-sdk-windows", the directory contains many packages, so stop clicking this directory, select this directory, and click "OK". You will find that the content in the SDK Location text box has been filled, click "Apply" in the lower right corner to complete the installation.
Step 4: restart the IDE (this step is sometimes not required, but it is recommended that you perform the operation. After the restart, make sure you are safe ).
This article is from "Cui zhuxuan"