Build Eclipse+ADT+Android SDK Android development environment

Install JDK

Please see the JDK environment to build  .

 

Install Eclipse

Eclipse is an open source, Java-based extensible development platform. On its own, it's just a framework and set of services for building a development environment through plugin components. Fortunately, Eclipse comes with a standard set of plugins, including the 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/    You can download it according to your personal preference

After the download is complete, you will see a compressed package file where you saved it, which is eclipse, just unzip it directly. After the decompression is complete, you can use it, enter the folder, double-click the Eclipse icon, and you can start Eclipse, and the installation of Eclipse is complete. The next step is to go to the Android developer website to download the ADT tool and the android sdk file.

ADT download: http://pan.baidu.com/s/1gfG5NDh    Password: gtte

SDK download: http://sdk.android-studio.org/ Just    download the corresponding version according to your personal needs

 

eclipse install ADT

 

  • 1. Download the zip file of the ADT plugin (don't unzip it)
  • 2. Start 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, click "Archive"
  • 5. Select the downloaded adt-23.0.6.zip file and click "Confirm".
  • 6. Enter "ADT" in Name and click "Finish"
  • 7. In the software dialog box, check the "Developer Tools" checkbox, 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 click Finish
  • 10. After the installation is complete, restart Eclipse

eclipse install SDK

  • 1. Start Eclipse, select windows>preferences>android
  • 2. Select "Browse" in the tab, select the directory (decompressed directory) of the Android SDK zip file (need to be decompressed) downloaded before, and click OK
  • 3. Click OK 

As shown in the figure:

         

 

Add new packages via Android SDK Manage

  • 1. Start Eclipse and click on the menu bartechnology sharing
  • 2. After running, the following interface will appear, select the Android version you need, and then click "Install X packages". Installed means installed, Not installed means not installed!!

  • 3. In the new interface, select Accept or Accept All as follows, and then click Install. The Android SDK Manager will start downloading and installing the package of your choice, just wait for a while and you're good to go!

 

AVD Manage to create an Android virtual machine

  • 1. Start Eclipse and click on the menu bartechnology sharing

  • 2. Click the Create button, make the following settings, and then click "OK"

  • 3. Select the virtual device you just created, and then click "Start->Launch" to start the Android emulator.
  • This will create the project, develop it and run it. If you don't want to use Android's own emulator, you can also download third-party ones to use, such as Deep Night, Haima, etc.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326308886&siteId=291194637