Android development environment built under MAC

Source: Internet
Author: User

JDK installation download Java SE 8 64-bit,

: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Download complete, direct click to install

installation directory/library/java

Mac default installed JDK bit 1.6 version, installed in:/system/library/java

To view the installed JAVABANB:

Xxdexxxxx xxx:/tb$ java-version
Java Version "1.8.0_25"
Java (TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot (TM) 64-bit Server VM (build 25.25-b02, Mixed mode)


Android SDK Installation

Just find an address to download, are updated development tools, not necessarily to the official address to download, the request is very slow, attached a download address: http://down.tech.sina.com.cn/content/45703.html

After downloading the unzip will get a file, open inside there is an SDK Readme.txt file, which provides a way to install the SDK:

We're going to update our SDK with the Terminal input command,

Go to Tools Directory

Execute command:./android Update SDK--no-ui

Wait, again a long process (′?_? ')


To download Eclipse, address: http://www.eclipse.org/downloads/

Select the desired eclipse version and download it and unzip it directly after downloading.

Install and install the Android plugin in eclipse




To configure the Eclipse SDK environment:






Problem:

Parsing Data for Android-21 failed unsupported Major.minor version 51.0

Answer:

This problem occurs: Android version is 5.0.1 and JDK version is 1.6 need to upgrade JDK, upgrade method directly download JDK Mac pack, install can




Android development environment built under MAC

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.