Android Studio installation Configuration detailed steps

Source: Internet
Author: User

Android Studio Tutorial why use Android Studio

Android Studio is Google launched a new Android development environment, its importance imaginable!
1. Integrated Gradle Packaging Tool
2. WYSIWYG results
3. Draggable UI Actions
4. Automatic code completion
5. More Operating Interfaces
6. Integration of Google Cloud
7. The new JUnit
8. Integration of MAVEN repositories

Download
    1. To https://developer.android.com/sdk/index.html (need to turn over the wall) or http://pan.baidu.com/s/1c2EzK9y to download the latest version of Android Stuido2.0 official version
    2. The installation package that is provided in this tutorial is provided in the description of the installation package:
      • Android-studio-bundle-143.2739321-windows.exe is a full installation package that includes the IDE and SDK Tools (this version comes with the latest version of the SDK).
      • Android-studio-ide-143.2739321-windows.zip is SDK Tools, and after extracting it, choose the SDK version you want to install, without the IDE
Installation steps
    1. Double-click Android-studio-bundle-143.2739321-windows.exe installation
    2. Follow the legend, next ( Note, install with instructions )

      Red Arrows in turn:

      • Android Studio: Mandatory option for IDE tools section
      • Android SDK: Optional option for SDK Toolkit section
      • Android virtual Device: Optional option for virtual machine section
      • li> performance: Optional option for Intel virtual Machine Hardware Acceleration Section

        Recommendations: Select All installation






      Description:

      • is the installation directory for the Android Studio IDE, you can choose the installation directory according to your needs
      • for the Android SDK installation You can choose the installation directory according to your needs


      Description:

      • This is the setting for configuring the memory size of the virtual machine to run
      • if your computer has more memory than you can get, try not to be less than 2GB





      Recommendation:
      If the computer does not turn over the wall, it is recommended not to open Android Studio immediately, subsequent settings refer to "Configuring the Android Studio section"

Configure Android Studio first time to open the configuration steps for Android Studio
  1. Highly recommended: If everyone's computer does not turn over the wall, please go to your Android Studio installation directory, find the bin directory under the Idea.properties file, open the file at the end of the file to add the following code:
    #———————————————————————-
    # set open Android studio after no networking detection
    #———————————————————————-
    Disable.android.first.run=true
  2. The first time you open Android Studio, you'll get the following tips

    Description

    • For those who already have experience with IntelliJ idea (Android Studio is just a branch of idea) used to import their own custom configuration
    • It's basically about developers who don't have their own custom configuration.

    Can choose according to their own situation

  3. The first time you open the installation tips process for the Android Studio SDK

    Description

    • The installation process is slow, please wait patiently


    Go to the start page of Android Studio

    Description

    • New Android Studio Project
    • Open an existing Android studio project
    • Sample code for importing Android
    • Check out the source of the project (can be checked out from popular code repositories such as Svn,git)
    • Import Eclipse Project
    • Configuration Studio
    • Document description
SDK Environment configuration for Android Studio


    1. Open Android Studio and follow the example to configure




Description:
* The first input box is the directory of the Android SDK in your native computer, make sure the same as your SDK installation directory
* The second input box is your local JDK directory, ensure that your JDK installation directory consistent, you need to emphasize that you must install JDK7 in this machine, this address must point to JDK7, cannot use JDK6
settings for Android Studio file encoding

The file encoding format has long been an important but easily overlooked issue. In Eclipse's experience, our file encoding format habit is usually UTF-8, but eclipse defaults to the same operating system (default GBK), because of the GBK encoding, it will cause a more or less garbled situation. Therefore, an unwritten rule is to use a generic encoding format UTF-8.
Setup steps:



Description:
1. Select Editor-> File Encoding
2. In the right, select Project encoding in the encoding format UTF-8
3. In the right, select the default encoding for properties files encoding format UTF-8
4. Click Apply to save the configuration, click OK to exit

Android Studio installation Configuration detailed steps (graphics)

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.