In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces how to configure Eclipse in Android. It is very detailed and has a certain reference value. Friends who are interested must read it!
1. Download Eclipse
After we have configured the JDK environment, we can start to configure the integrated development environment of Android. The official Google recommended integrated development environment is Eclipse, so we use Eclipse as the integrated development environment. Whether it is developed on the Linux platform or the Windows platform, we only need to download the Eclipse version of the corresponding platform. The specific development process on Eclipse is the same. Eclipse is an open integrated development environment, which means that it is open source (that is, the source code of Eclipse itself is open source) and that it has good expansibility (plug-ins can be developed on Eclipse and applications like Eclipse can also be developed). The home page of Eclipse is: http://www.eclipse.org/, and the main download page is: http://www.eclipse.org/downloads/. The download page is shown below:
The default version of the page is Windows platform. If you want to choose another platform, such as Linux platform, click the drop-down box in the upper right corner to select (three platforms: Windows, Linux and Mac OS X). The default is the current official release of version 3.7.2, code name Indigo. If you want to download the previous version, you can click the Older Versions link on the upper left to download the old version. Several versions are listed here because of the good expansibility of Eclipse, many application plug-ins have been developed. In order to save users' download workload and avoid downloading a large number of relevant plug-ins for a certain type of development, it is packaged for several commonly used types of development. Let's introduce it a little bit: Eclipse Classic is a standard Elipse version that includes only basic plug-ins, not special plug-ins for applications, and is often referred to as the cleanest version of Eclipse. For Android launch, we download the Eclipse IDE for Java EE Developers version, although this is a development version for J2EE, but the plug-ins are relatively complete, but also suitable for Android development. The early version of Eclipse has a Chinese version, but there is no Chinese version of the current Eclipse because the team responsible for Chinese localization was disbanded. Each platform corresponds to 32-bit and 64-bit versions, and choose the corresponding version according to the operating system of your computer.
Click on the Windows 32 Bit or Windows 64 Bit after the mouse click to go directly to the download page. If you click the previous project name such as Eclipse IDE for Java EE Developers, you will go to the specific description page of the IDE, as shown in the following figure:
The whole page is divided into three parts: the Downloads Home on the left lists the links to different Eclipse versions that have been released, the middle Feature List shows the main plug-ins included in the IDE of this version (that is, the 3.7.2 version of Eclipse IDE for Java EEDevelopers we selected earlier), and the Download links on the right lists the download links for different platforms. That is, we mentioned earlier that it includes three platforms: Windows, Linux and Mac OS X, each of which is divided into 32-bit and 64-bit versions.
Select the appropriate version and go to the download page, where there are many links, including Bit Torrent FTP and many mirror sites. Since there are so many users downloading Eclipse, many mirror sites are provided to ease the pressure on the master server. The system will automatically select * mirror sites based on the IP of your computer, as shown below:
Click on the BeijingInstitute of Technology (http) link to start downloading. If you want to download through BitTorrent, you can click on the BitTorrent link below to download the seed, and then use BitTorrent to download. The downloaded file is zip compressed format, Eclipse is not in the form of installation package, it can be run after being unzipped directly. We have already talked about the configuration of JDK, if you have configured JDK as mentioned earlier, just run the eclipse.exe program directly.
two。 Configure Eclipse
Configuring the Android development environment in Eclipse mainly includes the installation of ADT (AndroidDevelopment Tools) and Android SDK. ADT installation: detailed instructions on how to install are given in http://developer.android.com/sdk/eclipse-adt.html#installing, but the core idea is a link to install ADT. Select Help- > Install New Software from the menu of Eclipse, as shown in the following figure:
Click the "Add" button on the upper right, and add the download address of ADT in the Location column: the Name field on Location can be filled in or not. Then click the OK button. As shown in the following figure:
If you successfully access the relevant server of Google, the acquired ADT plug-in information will be displayed. The mouse selects the check box inside, as shown in the following figure:
Click the "Next" button and the details will be displayed, as shown in the following figure:
Continue to click the "Next" button with the mouse, and then ask the user to agree to License. By default, disagree and the "Finish" button below is grayed out. Make sure that the consent License above is selected, and then click the "Finish" button below, as shown in the following figure:
Then enter the ADT download and installation process, according to the user's network speed, please wait patiently. As shown in the following figure:
Unsigned plug-ins will be prompted in the middle. Click the "OK" button to agree, as shown in the following figure:
Once the download and installation is successful, you will be prompted to restart Eclipse. Click the "RestartNow" button to restart Eclipse, as shown below:
Add: if you fail in the above installation and download process, just repeat the above process. If you can't access https://dl-ssl.google.com/android / eclipse/, try http://dl-ssl.google.com/android/eclipse/. Usually one of the two is available, or both link addresses can be used. Entering the same link may cause an error if you reinstall, as shown in the following figure:
It needs to be cleaned up. Click the link Available Software Sites, as shown in the following figure:
The Available Software Sites interface opens, as shown in the following figure:
Make sure to check the link address of ADT, as shown above, and then click the "Remove" button on the right to delete it. * Click the "OK" button on the lower right of the image above.
3.Android SDK installation
Download the Android SDK of * from http://developer.android.com/sdk/index.htmlhttp://developer.android.com/sdk/index.html, as shown below:
Three platforms, Windows,Linux and Mac OS X, are supported. Choose the appropriate version according to the operating system environment of your computer. This SDK is not divided into 32-bit and 64-bit, because the operating system of Android is a 32-bit Linux environment. Windows platform includes two versions, although the version in the form of installation package is listed as recommended, but it is of little significance, we just use the zip file version directly, click the link android-sdk_r18- windows.zip and start downloading directly. After downloading, extract the zip file and put it in your favorite directory.
Open the Preferences window from the menu Window- > Preferences of Eclipse, click Android on the left, and then click the "Browse" button on the right to set the location of the Android SDK, which is the decompressed location of the previously downloaded Android SDK, as shown below:
* Click the "OK" button on the lower right. So the AndroidSDK is configured.
These are all the contents of the article "how to configure Eclipse in Android". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.