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