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

Source: Internet
Author: User

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

A, JDK

The JDK has been preinstalled for us in the Mac and the Java system variables are configured by default, so the JDK is for us to use directly, and to see the JDK version in Mac is to enter "Java-version" in the command line (hard disk/application/utility/terminal) and return.

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), after the download is complete, directly open the compressed package, the system will be automatically extracted into the folder, Go to the Tools folder in that folder and open the Android file to launch the AVD Manager, select the AVD platform you want according to the list shown and click Install selected installation.

C, Eclipse

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

D, ADT

Open Eclipse, select Install New Software in the Help menu, enter the installation address of ADT in the popup dialog box https://dl-ssl.google.com/android/eclipse/and click the Add button, Follow the prompts to enter the name OK, followed by the prompt to next and accept the protocol finish into the installation process, restart Eclipse after the installation is complete, after restarting eclipse will automatically prompt you to configure the SDK path, after setting the SDK installation path, the plug-in installation is complete.

With the above steps, you can successfully build an Android development environment in your Mac, and before you go into actual development, just create the AVD Android emulator to run Android code from the emulator.

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.