First of all, thank the good guys for sharing! Http://www.mamicode.com/info-detail-516839.html
System: Windows 7
To install eclipse-android directly, please start the following portal:
http://www.eclipse.org/downloads/eclipse-packages/
Installation ideas:
1. Install adt-23.0.6.zip-2 to add a new package via the Android SDK manager.
Precautions:
When adding the Android SDK, do not tick the selection too much or install very slowly.
Steps:
ADT Android Development Tool installation
The ADT (Android development tools) Android development tool is a development tool for Android in the Eclipse IDE environment, which provides an upgrade or change of development tools for Android development, and is simply understood as an upgrade download tool for open tools under Eclipse. With the Android Developer website (developer.android.com), we know that eclipse can install ADT plugins in two ways, online, offline (you'll need to download the ADT plugin package before you can find it on the developer's website).
Eclipse Online Install ADT Plugin
Due to the non-descriptive firewall reason, may appear the access URL failure causes cannot install online, the solution can refer to: https://laod.org/hosts/2016-google-hosts.html, personal feeling very easy to use, convenient.
- 1. Launch Eclipse, then select Help > Install New Software on the menu bar
- 2. Click the Add button in the upper-right corner
- 3. Enter "ADT Plugin" at name, enter "https://dl-ssl.google.com/android/eclipse/" at location (URL)
- 4. Click "OK"
- 5. In the Software dialog box, select the Developer Tools check box, and then click Next
- 6. In the next window, you will see a list of tools to download. Click "Next"
- 7. Read and accept the license agreement, then click "Finish"
- 8. After the installation is complete, restart eclipse
Eclipse installs the ADT plugin offline
- 1. Download the ADT plugin's zip file (do not unzip): Adt-23.0.6.zip
- 2. Launch Eclipse, then select Help > Install New Software on the menu bar
- 3. Click the Add button in the upper-right corner
- 4. In the "Add Repository" dialog box, click "Archive"
- 5. Select the downloaded adt-23.0.6.zip file and click "Confirm".
- 6. Enter "ADT Plugin" at name, click "Finish"
- 7. In the Software dialog box, select the Developer Tools check box, and then click Next
- 8. In the next window, you will see a list of tools to download. Click "Next"
- 9. Read and accept the license agreement, then click "Finish"
- 10. After the installation is complete, restart eclipse
Configuring the ADT Plug-in
- 1. Start Eclipse and select Windows>preferences>android
- 2. Select "Browse" in the tab and select the directory (unzipped) of the previously downloaded Android SDK's zip file (extracted directory), click OK
- 3. Click OK. Here the basic construction of the environment is complete!!
Add a new package via Android SDK manage
- 1. Start Eclipse, click on the menu bar
- 2. After running the following screen, select your desired Android version, and then click "Install X Packages". Installed indicates that the installation is installed, not installed is not installed.
- 3. Select the following accept or accept License in the new interface and click Install. Android SDK Manager starts to download and install your selected package, we wait for a while OK!
AVD Manage creating an Android virtual machine
- 1. Start Eclipse, click on the menu bar, and you may find it blank because you haven't created an Android virtual machine yet.
- 2. Click the Create button to set the settings below, then click "OK"
- 3. Select the virtual device you just created, then click "Start->launch" to launch the Android emulator.
Finally thank others for sharing!
Built-in development environment based on Eclipse-java platform