Detailed steps to install and build an Android development environment in Apple Mac

Source: Internet
Author: User
Tags command line

The main tools needed for the Android development platform are Java Virtual machine jdk, Eclipse, Eclipse plug-in ADT (Android Developer Tool), and the Android Development Kit SDK, the following are the specific installation methods.

A, JDK

The JDK has been pre-installed for us on the Mac and the Java system variables have been configured by default, so the JDK is used directly for us to view the JDK version in the Mac by typing "java-version" in the command line (hard disk/application/utility/terminal) and enter.

B, Android SDK

Android Development package also to the official website download http://developer.android.com/sdk/index.html, select Platform Mac OS X (Intel) can, download complete, directly open the compression package, the system will automatically extract into the folder, Enter the Tools folder in the folder and open the Android file to start the AVD Manager, select the AVD platform you want based on the displayed list and click Install selected install.

C, Eclipse

Eclipse is familiar to Java developers, but directly to the official download: http://www.eclipse.org/downloads/. Here we only need basic development capabilities, so we choose the eclipse IDE for Java developers, after the download is complete, directly run the automatic decompression.

D, ADT

Open Eclipse, select Install New Software in the menu, enter the ADT installation address in the pop-up dialog box https://dl-ssl.google.com/android/eclipse/and click the Add button, Follow the prompts to enter the name after OK, and then follow the prompts all the way next and accept the agreement finish into the installation process, after the installation is completed to restart Eclipse, after the restart eclipse will automatically prompt you to configure the SDK path, set the SDK installation path, after the plug-in is installed complete.

Through the above steps, you can successfully build the Android development environment in the MAC, to enter the actual development, just create the AVD Android simulator to run the Android code through the simulator.

Android development platform "Width=" height= "border=" 0 "onload=" return Imgzoom (this,550); "style=" cursor:pointer; "target=" _ Blank "/>
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.