Android Studio 1.0 Apple PC installation configuration

Source: Internet
Author: User

?



Objective

Recently, Google has finally delivered a long-awaited Android Studio 1.0 official version. I'm a developer of Android, I've used eclipse before, and I've tried Android Studio 0.x, and it feels good. This official version can bring a lot of surprises to Android developers.


Installation and Configuration


premise : Because Android needs to use the Java language as the standard development language, you need to install the Java development environment in your operating system. If you have not installed the Java development environment, you can search the Internet how to download, install and configure environment variables, in this article do not do too much to explain, there are many graphic tutorials on the web. For Java's JDK (Java Development Kit) version, I installed the latest JDK 1.8 (Java 8) and should be available for Android STUDIO,JDK 1.7 and 1.6.


Give a few URLs for the Java Development Environment installation configuration:

Http://blog.sciencenet.cn/blog-830496-778851.html

http://blog.csdn.net/yusiguyuan/article/details/14123669

Http://blog.sina.com.cn/s/blog_7d1c5c8601015ppr.html


After the installation configuration completes the Java development environment, go to the following URL:

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

You will see there is a version of Android studio for your current operating system, I am demo on the MacBook, so is "Download Android studio for Mac", click this green button to download it.



Double-click the downloaded file (the DMG file for the Apple Computer) and go to the Installation Wizard:



"Standard" installation is not the case of Android SDK, if you have installed the SDK, you can choose "Custom", we choose the default standards here, click the Next button (next),



Is that we need to select the "Accept" ANDROIDSDK and Emulator Runtime Environment, only select the Accept after the Finish button to be able to be clicked. After pressing the Finish button, wait for Android studio to install, depending on the speed.


Once the installation is complete, we double-click the Android studio icon,



You can officially start our Android Studio Tour!


But if you're on an Apple computer, you're probably going to have a problem that hasn't been solved yet, that is, Android studio can't find the Java environment we installed, and it will show the following box:



So you need to do some more changes, you need to modify the Android studio Info.plist file, open a terminal (go to the utility, and terminal), enter:


Vi/applications/android\ Studio.app/contents/info.plist (here is the VI editor, you can also use your favorite editor, such as Emacs, etc.)


will be inside the


<key>jvmversion</key>

<string>1.6*</string>


Switch


<key>jvmversion</key>

<string>1.8*</string> (because my JDK version is 1.8, if it is 1.7 it needs to be 1.7*; if it's a 1.6 version of the JDK, there should be no boot issue)



After the change, you can start.




* new friends Please pay attention to the public number "Programmer Alliance"


Android Studio 1.0 Apple Computer installation configuration

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.