Eclipse+adt+android SDK builds Android development environment

Source: Internet
Author: User
Tags windows x64 windows x86 android sdk manager

Requirements
    • Essential knowledge

      Basic Windows 7 operations.

    • Operating Environment

      Windows 7 (64-bit);
      Eclipse-jee-luna-sr2-win32 (32-bit);
      ADT-23.0.4

    • Environment download

Recently started to contact Android (Android) embedded development, the first problem is to build the andoid development environment, because I use the Windows7 notebook, but also only to Windows to build the Android development environment! It took a long time to build the environment, in a variety of versions between a long time, installed after the SDK package update is a relatively big trouble (the Celestial network you understand-). The following will be my installation process and experience to share a everyone!!

Installing the JDK

Here you can refer to my previous written on the installation of the JDK tutorial, because the blog Park team feel written too simple, not detailed enough, and then be harmonious ~ ~, but the individual feel simple has a simple advantage! Do not need in a large article to find the key information you need, you can save the reader's reading volume! So I'm still going to post the article I wrote earlier, please see the link below.

    • Http://www.cnblogs.com/Li-Cheng/p/4334985.html
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 plugins, 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

: http://www.eclipse.org/downloads/

Eclipse provides a different development environment for developers and different programming languages, where we can select the first two packages. What I chose here is the Eclipse IDE for Java EE developers, which is the second one in the.

    • Eclipse IDE for Java Developers: provides some of the tools required for Java development, including Java IDE,CVS clients, git clients, XML editors, Mylyn,maven and Windowbuilder
    • Eclipse IDE for Java EE developers: Provides Java developers with the tools to create Java EE Web applications, including Java Ee,jpa,jsf,mylyn,egit
Eclipse Version Selection

This is a choice based on the individual OS version. I previously said I was using a Windows system, so I chose the Windows 32-bit version. It is important to note that:

    • If eclipse installs 32-bit, the JDK should also be installed in Windows x86 (32-bit), and if Eclipse installs 64-bit, the JDK should install Windows x64 (64-bit). Otherwise, the "Failed to load the JNI shared library Jvm.dll" error will pop up when you start Eclipse!
Eclipse installation

Once the download is complete, you will see a zipped package file in your saved location, which is eclipse, which can be extracted directly. Once you're done extracting it, go to the folder, double-click the Eclipse icon, and you are ready to start eclipse, and the eclipse is ready to install. Next, go to the Android Developer website to download the ADT tool and the Android SDK file.

Download the standalone Android SDK tool

If you are using your own IDE tool to develop an Android program, you will need to download the standalone Android SDK tool (official web site has a way to install the SDK for Android studio, the next introduction here).

    • : Android-sdk_r24.0.2-windows.zip

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). Here are two ways to install:

Eclipse Online Install ADT Plugin
    • 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

duang! to here Environment Basic build 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 it is installed, not installed is not installed!!

    • 3. In the new interface, select the following to accept or accept all, then 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

    • 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. Android 5.1 hands on, haha ~ ~ ~

Eclipse+adt+android SDK to build an Android development environment (RPM)

Related Article

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.