MAC Android Studio 5.0 Environment Setup

Source: Internet
Author: User

MAC Environment:

Android Studio 0.8.14

JDK 1.7

ADT Version 21


Ready to build android5.0 development environment today

Android Studio0.8.14 Android Studio 0.8.14

Latest releases of Google, some new improvements

Start Android Studio

Build a project, and rest assured that you cannot build success into the user directory. gradle/wrapper/dists/

Gradle-2.1-all directory, and possibly other versions of the directory

gradle.org download Gradle-2.1-all.zip file, there are other directories, just download other versions


then copy the corresponding download version to, gradle-2.1-all/xxxxxxxxxxxxxxx/directory, unzip, complete.


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/53/68/wKioL1RmGx7DF22HAAdigkFz7uA393.jpg "title=" Gradle.png "alt=" Wkiol1rmgx7df22haadigkfz7ua393.jpg "/>


Restart Android Studio, build the project, find the need to download a lot of jcenter domain names under the things, wait.


Build project Success, Android 5.0 compilation requires JDK 7.0

Download MAC JDK 1.7, install. Java-verison correct display


Setting up the JDK directory in Android studio

The SDK location is set to:/library/java/javavirtualmachines/jdk1.7.0_71.jdk/contents/home

First check your JDK directory is not this connection, if not, there may be

/system/library/java/javavirtualmachines/1.6.0.jdk/contents/home


Now, you can compile Android 5.0.

MAC Android Studio 5.0 Environment Setup

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.