Install configuration under Mac System Android development tool (Eclipse) graphics and text tutorial

Source: Internet
Author: User
Tags android sdk manager java se

Java JDK Download

Java JDK (Java SE Development Kit) Official Download http://www.oracle.com/technetwork/cn/java/javase/downloads/index.html

Download installation by Platform

Mac Gets the Java installation location

$ echo $ (/usr/libexec/java_home) #输出当前JDK路径

Installed JDK8:/LIBRARY/JAVA/JAVAVIRTUALMACHINES/JDK1.8.0_20.JDK

JDK6 with Mac:/SYSTEM/LIBRARY/JAVA/JAVAVIRTUALMACHINES/1.6.0.JDK

Android SDK Download

The official place by the wall, do not explain, turn over the wall bar.

Android SDK Official Download https://developer.android.com/sdk/index.html

You can't turn the wall. Download Android Dev Tools with domestic resources

After downloading, unzip the downloaded Android SDK, open the Eclipse-> Preferences dialog box, find the Android item, click Browse, and select the SDK directory.

Eclipse installation

Download the corresponding platform and then install on it, there's nothing to say

ADT Installation

ADT (Android Developer Tools)

Open Eclipse, select Install New Software in the menu, select Add in the top right

Name Edit as ADT

Location Editor for https://dl-ssl.google.com/android/eclipse/(you know what to flip)


Select Developer Tools and click Next to perform the download

Installing Platform Tools

After installing reboot, download Tools and Extras and other APIs in Windows Android SDK Manager


Virtual machine settings

Open Android Virtual Device Manager in Windows, create add an Android VM to test the Android program for development.


Create Android Project

After you restart the Eclipse program, file->new->other->android application Project. Set up entries such as project names to create a successful



Installation Successful

FAQ

AppCompat V7 R21 returning error in Values.xml?

The construction process will appear a variety of problems, when encountered problems, we'd better put the cause of the error to Google search, the end can always solve, it is not resolved, you may find the Android developers to help you see, and finally wish everyone can successfully configure an Android development environment.


Another article from the Baidu experience, but also worthy of reference

Build Android development environment on Mac

First we need to know that the Android environment consists of the following components: Java Virtual machine jdk, Eclipse, Eclipse plug-in ADT (Android Developer Tool), and Android Development Kit SDK. Below and everyone together to learn how to quickly, suitable for the novice to build the way bar!

Method/Step

Because the system has its own JDK, you don't need to download it. You can view the results from the terminal input java-version.


Then go to the official Android website and download the ADT tool.

Http://developer.android.com/sdk/index.html

Probably a lot of people in the tutorials said they needed sdk+eclipse, and the Eclipse plugin

But now the authorities have integrated them all together.

Official quote "with a single download, the ADT Bundle includes everything you need to begin developing apps"

Simply downloading this ADT (Android Development Kit) contains all the things you need to develop!

The fact is that the official to facilitate the development of the people, for us to pack it.


Unzip the downloaded ADT package, which has two folders, an Eclipse an SDK


Continue to follow the official document, recommended to extract it in the home directory under the development directory, I do not have the development directory, but as a rookie, I decided to follow the official meaning, so I created a new development, Then move the Eclipse and SDK that you just extracted automatically (how do I do it?) I was using the terminal mkdir Development then MV came in


Go to the Eclipse directory and start it! Exciting moment!



Now it all seems to be ready to create your own first app!



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.