Androidstudio (1 download installation, environment construction)

Source: Internet
Author: User
Tags comparison table

1. Download Androidstudio (ladder required)

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

But I don't know how to divide 32/64-bit systems

2. Configure java1.7 above system

: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

Note that you need to select a version that is appropriate for your system. I'm 64 win7.

3. Configure Java Environment variables

Control Panel → system → advanced system settings → "advanced" under "Environment variables":

    • In the system variable, click New, variable name fill java_home_64, variable value to fill in the JDK installation path, here to fill out "C:\Program files\java\jdk1.7.0_21"
    • In the system variable, click the new variable name to fill in the Classpath, the variable value is filled ".; %java_home_64%\lib;%java_home_64%\lib\tools.jar ". Be careful not to forget the front dot and the middle semicolon.
    • Find the path variable in the system variable, which is the system's own, not new.  Double-click Path, because the original variable value already exists, it should be added after the existing variable "; C:\Program files\java\jdk1.7.0_21\bin Note the preceding semicolon

(Because the computer has 32-bit jdk,androidstudio to use 64-bit)

4. Install open Android Studio

All the way next~ the first login will pop up an HTTPS proxy setting, can be ignored. Explained in the Step personalization settings

5. Personalized Settings/Optimization settings

To change the font:

Android Studio Default editor (scheme) is unable to modify the font, you can save as, saved as a new scheme (scheme), and then change the font size; Location: File->settings->ide settings->editor->colors & Fonts, Font

Sdkmanager:

Location: Tools->android->sdkmanager This is the same as eclipse, download the required SDK to compile

Gradle Optimization:

In the C:\Users\Administrator\.gradle directory, the new Gradle.properties file is configured as follows

Org.gradle.daemon=true
Org.gradle.jvmargs=-xmx1024m-xx:maxpermsize=512m-xx:+heapdumponoutofmemoryerror-dfile.encoding=utf-8
Org.gradle.parallel=true
Org.gradle.configureondemand=true

Androidstudio Memory Optimization:

Open the Androidstudio installation directory (E:\Android\Android studio\bin) to open studio64.exe.vmoptions file

The changes are as follows: (adjusted according to actual hardware conditions)

-xms256m
-xmx2048m
-xx:maxpermsize=1024m
-xx:reservedcodecachesize=225m

Code Intelligence Tips

Location: File->settings->editor->general->code Completion

The main setting is the response speed of 100ms, you want to change the response shortcut key is not CTRL + Space is the following method

Location: File->settings->keymap Search class Name completion

Then right-click Add Keyboard ShortCut, and finally remember to right-click the default settings before removed off

Your own settings are pretty much the case. Finished ~

Attach each shortcut key comparison table, uncomfortable can change their own ~

Http://www.eoeandroid.com/thread-276107-1-1.html

Androidstudio (1 download installation, environment construction)

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.