Android Courses---Android Studio installation and use

Source: Internet
Author: User

The 2013 Google I/O Conference first released the Android Studio IDE (Android Platform integrated development environment). It is based on the IntelliJ idea development environment and is designed to replace Eclipse and ADT (Android Developer tools) to provide developers with better development tools.                  Since Google has been trying to promote, I believe it will soon be possible to catch up with eclipse. ----Summary

Compared to the eclipse,android Studio IDE, it has its own pros and cons:

Pros : Better support for UI design and code authoring makes it easy to adjust multiple resolutions on your device. Proguard tools and application signatures are also supported.

Cons : However, the current version of Android Studio cannot manage multiple items in the same window. Each project opens a new window. I guess this is a reference to the behavior of IntelliJ idea, and Google will not make any adjustments to this recently. While supporting the Gradle automation build tool, it will take some time to learn and adapt to developers who have just moved from the Eclipse platform.

If you already have an Android SDK installed on your system, you can download the latest version of Android Studio from the Android developer website.

Android sdk:http://developer.android.com/sdk/installing/studio.html attached

Install the Android-studio-bundle-<version>.exe file.

Follow the installation Wizard instructions to complete the installation:

If you haven't installed the JDK on your system yet, you'll need to install the latest version of Java and set up the Jdk_home and java_home environment variables:

Whether to restrict the installation configuration, select "Any native user can use", the following "for your use only":

Select the installation path:

After the installation is complete, open the Android Studio project to start the IDE.

Starting the IDE takes a few seconds and displays the following splash screen:

Click "New Project" in the main interface of Android Studio, and when you click on "New Project", Android Studio will display the corresponding application name, module name and package name as follows. And you can specify the version of the Android SDK for compiling the application and the minimum supported SDK versions, and then choose a built-in theme.

Next you need to choose the app icon that appears on your phone, and of course we can follow the default settings and click Next to continue.

Name the newly created activity and click Finish to complete the creation.

The first time you create a project, it will take a little time because the IDE will index project projects to download related packages for some of the gradle tools.

Then, click the Run button in the IDE interface to start the project.

The IDE prompts you to choose from a list of available devices or emulators for Android app deployment.

Here I select the Genymotion_vbox86p_5_0 version emulator from "Android Virtual device" and click OK to finish. If the simulator does not start early, it can take a very long time to start the emulator. My suggestion is to manually start the emulator and then you can find the running emulator in the "Choose a running Device" list.

The simulator automatically generates an "HelloWorld" app and installs it on your emulator or device, followed by the program.

Original link: Javacodegeeks translation: importnew.com-chen Qiang
Link: http://www.importnew.com/8731.html

Android Lessons---Android Studio installation and use

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.