Android Studio Development Environment Setup tutorial under Windows platform

Source: Internet
Author: User

Recently, Google has announced that it will stop supporting other integrated development environments such as Eclipse by the end of this year in order to simplify Android's development efforts to focus on building Android Studio tools . and with the launch and refinement of the Android studio version, Android developers will be turning to the Android Studio development platform!

Younger brother Vike originally studied Android is also always used eclipse, although time is not long, and use up slowly, card point, but after all familiar with, jerked to go to a new platform, is really quite unaccustomed. And do not say that the shortcut keys have changed, even Android Studio module is a what, how to delete the old project I also have to surf the internet for help, and gradually familiar with the time spent. But after a period of time, still feel very good ... Needless to say, now the online some of the Android Studio development environment of the tutorial to gather around here, while sharing some of the resources I collected, and then, everyone to enjoy it!

First, the preparatory work:

If you're just starting out with Android, you need to install Java JDK for your PC first, and here's a tutorial on online JDK installation Tutorials Link: http://jingyan.baidu.com/article/ E5c39bf5a418e439d76033ee.html.

Here are a few reminders: 1. Android Studio requires JDK version JDK7 and later

2, confirm that your computer operating system is 32-bit or 64-bit, you must download the corresponding JDK version: "Windows x86"-for Windows 32-bit machine, or "Windows x64"-for Windows 64-bit machine. Otherwise, when Android Studio is installed, it will get an error when opened because it does not match the JDK.

3, JDK environment variables must be dictated by the requirements of the link, that is, the use of traditional java_home environment variable name, or open Android Studio because the path of the JDK can not find the same error.

Second, the resources download:

First of all I have used the installation files of Android Studio: Link: http://pan.baidu.com/s/1dDroXRr Password: 26dy

Android Studio installation files (exe format) for different bits of the operating system is also applicable, so we do not have to tangle, rest assured that use. I personally do not like to use the latest version, so the installation is 1.0 version of Android Studio, which contains the Android 5.0 SDK, the same function, such as false replacement.

If you prefer a new version or need to install another version of the SDK, a link is recommended:http://www.androiddevtools.cn/. There's definitely something you want!

Third, Installation:

1 . Double-click the installation file of Android Studio to enter the installation interface:

The first one is the Android Studio main program, which must be selected. The second one is the Android SDK, which installs the Android5.0 version of the SDK, which is also hooked up. The third and fourth are the accelerators for virtual machines and virtual machines, and if you want to use a virtual machine debugger on your computer, tick it. Click Next next when you are done.

2. Select the installation directory for Android studio and SDK

Choose the disk you are accustomed to install the software can be, C drive D disk does not matter, the following SDK path back to configure the use of.

3. Set the maximum memory that can be used by the virtual machine hardware accelerator

If your computer configuration is good, the default setting of 2G, if the configuration comparison, choose 1G is similar, otherwise too big will affect you to run other software.

4, the next step, will enter the automatic installation mode.

Android Studio requires VC + + environment to keep the computer networked, and the installer will take care of everything itself.

5, if nothing unexpected, after a short period of time you will see the following interface, also shows that the installation was successful.

6. After opening Android studio, enter the relevant configuration interface

This is the profile for importing Android studio, if it is the first time, select the last item: Do not import the configuration file, then click OK.

7, the previous step is completed, will enter the following page, which is the program to check the SDK update situation.

Because our country characteristic socialism national conditions, if your computer cannot FQ or does not configure the hosts, this page will be stuck to when who also said not good. We recommend that you do the following:
Under the Bin directory in the Android Studio installation directory, locate the Idea.properties file, and append disable.android.first.run=true to the file at the end. "Skip this step. If you need to update the SDK later, click on the last red link in the "Second, resource download" above to download the required installation package for offline configuration.

8. If you enter the following interface, it means that you are not far from success

Click on the first item: Create a new Android project. Success means you have no problem with the configuration. If this option cannot be clicked, indicate that your JDK or Android SDK directory is pointing to a problem. Then you can choose Configure---Project Defaults---project Structure to go to the SDK and JDK path configuration page:

Configure the path to install the JDK and the directory confirmation of the SDK.

Here, the installation configuration for Android Studio is complete. Start your Android development journey below! Last picture of Android studio1.0 on my Computer ~

Add:

1, the directory structure in Android Studio has some changes, its module is actually equivalent to a project in Eclipse, its project is equivalent to eclipse's workspace.

2. Some common settings

Shortcut keys: Click the "Wrench" icon under the toolbar, go to the Setup interface, find Keymap in the IDE settings, select Eclipse in the Keymaps, use the basic and Eclipse-like shortcut keys after the application, if there are still individual uncomfortable shortcut keys, You can find the corresponding item in the list to edit and modify it yourself.

Themes and fonts: Also enter the settings interface, click the IDE settings Editor-->colors&fonts-->font, in Scheme name Select Darcula can become cool and eye-protecting black interface, Then click Save As ..., take a new name, and select a suitable size value based on the effect of the preview screen to complete the font modification.

Well, for the time being write these, if there is any problem, can message exchange, everyone together to learn progress.

Android Studio Development Environment Setup tutorial under Windows platform

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.