Android environment built under Mac OS X

Source: Internet
Author: User

    1. Install the jdk6.0 version to support installation of Eclipse
    1. Install Eclipse
    1. Install the jdk8.0 version, the JDK used in the actual development
    1. Configuring Java Environment variables
    1. Open shell Command Window (terminal)
    1. Detect The input java-version, view the JDK version, and the JDK can be seen when properly installed
    1. Next, really configure the environment variables
    • Input sudo vim etc/profile, edit profile with VI
    • Type I, enter insert mode, add Java path to the end of the file Java_home= "/library/java/javavirtualmachines/jdk1.8.0_75.jdk/contents/home/" Class_path = "$JAVA _home/lib" path= ".; $PATH: $JAVA _home/bin "
    • Note the JDK installation path needs to be checked in advance
    • When you are finished adding, press ESC to exit Insert mode and type wq! to save the exit file.
Here the Java environment variable is configured successfully, you can try "Hello World" in Eclipse to verify the installation is correct5. Next to configure the Android development environment
    • Click Help in the menu -- Install New software?;
    • Select work with: Add after ... → Enter Android plugin→ in the local option to find the ADT package in archive → Click ok→ to check the option in the name below.

Android environment built under Mac OS X

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.