In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces "how to use Eclipse+ADT+Android SDK to build Android development environment". In daily operation, I believe many people have doubts about how to use Eclipse+ADT+Android SDK to build Android development environment. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "how to use Eclipse+ADT+Android SDK to build Android development environment". Next, please follow the editor to study!
Catalogue
Operation environment
Download address
Environment download
Install JDK
Install Eclipse
Download stand-alone Android SDK tools
ADT Android developer tool installation
Eclipse installs the ADT plug-in offline
Configure the ADT plug-in
Add a new software package through Android SDK Manage
AVD Manage creates Android virtual machine
Operation environment
Windows 7
Download address environment download
Recently, when I came into contact with Android (Android) embedded development, the first problem is to build an Andoid development environment. As I am using a windows7 notebook, I can only build an Android development environment in Windows! It takes a long time to build the environment, and it takes a long time to toss about between various versions, and it is a big trouble to update the SDK package after installation (everyone knows about the network in China). Let's share my installation process and experience with everyone!
Install JDK
Here you can refer to my previous tutorial on installing JDK, because the blog Park team felt that it was too simple and not detailed enough, and then it was harmonized, but I personally think that simplicity has its benefits! You don't need to find the key information you need in a large article, which can save readers' reading quantity! So I'm still going to post the article I wrote before, please see the link below.
Https://www.yisu.com/article/140706.htm, leave a download address by the way.
Install Eclipse
Eclipse is an open source, Java-based extensible development platform. For its part, it is just a framework and a set of services for building a development environment through plug-in components. Fortunately, Eclipse comes with a standard set of plug-ins, including Java development tools (Java Development Kit,JDK). We can build an Android development environment by adding ADT (Android Development Tools) Android development tools to Eclipse.
Download Eclipse
Download address: http://www.eclipse.org/downloads/ or local download address
Eclipse provides different development environments for different developers and different programming languages. Here we can choose the first two packages. Here I choose Eclipse IDE for Java EE Developers, which is the second one in the image above.
Eclipse IDE for Java Developers: provides tools for JAVA development, including Java IDE,CVS client, Git client, XML editor, Mylyn,Maven and WindowBuilderEclipse IDE for Java EE Developers: tools for JAVA developers to create JAVA EE WEB applications, including Eclipse version choices such as Java EE,JPA,JSF,Mylyn,EGit
The choice here is based on the individual's version of the operating system. As I said before, I used Windows, so I chose the Windows 32-bit version. What needs to be noted here is:
If eclipse is installed with 32-bit, JDK should also install Windows x86 (32-bit); if eclipse is installed with 64-bit, JDK should install Windows x64 (64-bit). Otherwise, a "Failed to load the JNI shared library jvm.dll" error will pop up when you start Eclipse! Eclipse installation
After downloading, you will see a compressed package file in the place where you saved it. This is eclipse. You can extract it directly. After the decompression is finished, you can use it. Enter the folder, double-click the Eclipse icon, and you can start Eclipse. This is where Eclipse is installed. The next step is to go to the Android developer website to download ADT tools and android sdk files.
Download stand-alone Android SDK tools
If you are using your own IDE tool to develop android programs, you need to download a separate Android SDK tool (there is a way to install SDK for Android Studio on the official website, which will be described here next time).
Download address: android-sdk_r24.0.2-windows.zip or local download address
ADT Android developer tool installation
ADT (Android Development Tools) Android development tool is the development tool of Android in the Eclipse IDE environment, which provides the upgrade or change of development tools for Android development. It is simply understood as the upgrade download tool of open tools under Eclipse. Through the Android developer's official website (developer.android.com), we can know that Eclipse can install ADT plug-ins in two ways, online and offline (you need to download the ADT plug-in package first, which can be found on the developer's official website). Below, I would like to introduce how to install the two sheets respectively:
Eclipse installs the ADT plug-in online
1. Start Eclipse and select Help > Install New Software on the menu bar
two。 Click the Add button in the upper right corner
3. Enter "ADT Plugin" at Name (name) and "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, and then click Finish
8. After the installation is complete, restart Eclipse
Eclipse installs the ADT plug-in offline
1. Download the zip file for the ADT plug-in (do not extract it): ADT-23.0.6.zi
two。 Start Eclipse and 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 OK.
6. Enter "ADT Plugin" at Name (name) and 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, and then click Finish
10. After the installation is complete, restart Eclipse
Configure the ADT plug-in
1. Start Eclipse and select windows > preferences > android
two。 Select "Browse" in the tab, select the directory of the previously downloaded Android SDK zip file (which needs to be unzipped), and click OK.
3. Click OK
Duang! The environment here is basically completed!
Add a new software package through Android SDK Manage
1. Start Eclipse and click on the menu bar
two。 After running, the following screen appears, select the Android version you want, and then click "Install X packages". Installed means it has been installed, and Not installed means it is not installed!
3. Select Accept or Accept All below in the new interface, and then click Install. Android SDK Manager will start downloading and installing the package of your choice, and we will OK it after a while!
AVD Manage creates Android virtual machine
1. Start Eclipse and click on the menu bar
two。 Click the Create button, make the following settings, and then click "OK"
3. Select the virtual device you just created, then click "Start- > Launch" to start the Android simulator. Android 5.1with both hands,
PS:Duang! If you can't open the page or update the program online, please surf the Internet scientifically by yourself.
At this point, the study on "how to build an Android development environment with Eclipse+ADT+Android SDK" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.