Illustration of Android Studio installation and use tutorials in Windows environment _android

Source: Internet
Author: User
Tags windows x86 version control system

Since Google's latest Android studio is highly admired by developers, it's also a experience.

Introduction to Android Studio

Android Studio is an Android development environment based on IntelliJ idea. Similar to Eclipse adt,android Studio provides an integrated Android development tool for development and debugging.

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 the development of Android and focus on building Android Studio tools. With the launch and completion of the Android studio version, Android developers are turning to the Android studio development platform.

May 16, 2013, at the I/O Conference, Google launched the new Android development environment--android Studio, and the developer console has been improved to add five new features.

Android Studio is Google's new Android development environment, where developers can write apps and see how their apps look in different size screens.

Google has improved the developer console by adding five new features, including optimizing tips, applying translation services, referral tracking, revenue graphs, beta testing, and staged presentations.

1, optimize tips: Open your application in the main body, click Tips, you will get the advice: for your application development tablet version;

2, Application Translation services: Allows developers to directly in the development of the subject to obtain professional translation. Upload your needs, choose translation, it will show the translator and the price, and in a week to send back the translation;

3, recommended tracking: Allow developers to find the most effective advertising;

4, Revenue curve: To show developers their application revenue to the country to divide;

5, trial version test and staged display: Developers can test the application, and then to the test users, the test results will not be published. When a version of the test is finished, the developer can launch it to a specific percentage of users.

The original study of Android is also always used eclipse, although not long, and use it slowly, card point, but after all familiar with, jerked to a new platform, it is quite not accustomed to. And do not say that the shortcut key has changed, even the Android Studio module is a what, how to delete the old project I also have to go online for help, gradually familiar with it or spent some time. But after a while, still feel pretty good ... No more nonsense, now put some of the online Android Studio development environment tutorials here, and share some of the resources I collected, then, everyone to experience it!

If you're just starting out with Android, first you need to install the Java JDK for your computer, so here's the thing.

can refer to: JDK Installation and environment variable configuration in Windows environment

Here are a few reminders:

1, Android Studio requires JDK version of JDK7 and later version

2, to confirm that your computer operating system is 32 or 64 bits, must download the corresponding JDK version: "Windows x86"-the corresponding Windows 32-bit machine, or "Windowsx64"-corresponds to the Windows 64-bit machine. Otherwise, when you install the Android studio, you will be given an error when you open it because it does not match the JDK.

3, the JDK environment variables must be in accordance with the requirements of the link, that is, the use of the traditional java_home environment variable name, otherwise open the Android Studio will be unable to find the JDK path as well as the error.

Second, download Android studio.

Https://yunpan.cn/cu3CDq7G6zbzv Access Password 50f9

Third, install Android Studio

1, double-click the Android Studio installation files, into the installation interface:

2. Select the installed plugin.


The first is the Android Studio main program, which is required.

The second is the Android SDK, which installs the Android5.0 version of the SDK and hooks it up.

The third and fourth is a virtual machine and virtual machine accelerator, if you want to use the virtual machine debugger on the computer, tick.

When you are done, click Next Next.


3, choose the Android Studio and SDK installation directory

The directory I chose locally.

Choose you are accustomed to install the software under the disk can be, C disk D does not matter, the following SDK path back to the configuration is also used.

4, set the virtual machine hardware accelerator can use the maximum memory

If your computer configuration is not bad, the default setting of 2G, if the configuration comparison, select a 1G is similar, otherwise too large will affect your running other software.

5, after the next step into the automatic installation mode.


If nothing happens, you will see the following interface for a short period of time, which means the installation is successful. Start the software.

6, after opening the Android studio, into the relevant configuration interface.


This is the profile that is used to import Android studio, if it is the first time, select the last one: Do not import the profile, and then click OK.

7, after the completion of the previous step, you will enter the following page, which is the program to check the SDK update.

Because of our country characteristic socialism national condition, if your computer cannot FQ or does not configure hosts, this page will card to any time who also said not good.

We recommend that you do the following:

(1) Locate the Idea.properties file in the bin directory under the Android Studio installation directory;

(2) Append the disable.android.first.run=true at the end of the file.

(3) "Skip this step." If you need to update the SDK later, you can click on the last red link in "Two, resource download" above to download the required installation package offline for configuration.


Select a theme and font.

I chose the theme of cool black.

Themes and fonts:

(1) Also enter the Setup interface, click Editor-->colors&fonts-->font in IDE settings, select Darcula in Scheme name to become a cool and eye-friendly black interface, and click Save As ..., take a new name, and select a suitable size value based on the effect of the preview interface to complete the font modification.

(2) Change the theme to Darcula under preference-> appearance.

8, if you enter the following interface, you are not far from success.

Here, the installation configuration of the Android studio is complete. Let's start your Android development tour!

Four, create an Android project.

1. To create the first HelloWorld project. The other platforms are basically the same, assuming you've configured the JDK and Android SDK environment, and you're installing studio for the first time.

When you're done updating the Android SDK, you'll see the interface. It's not until this interface shows that you can use Android Studio.

Option 1: Create an Android studio project.
Option 2: Open an Android studio project.
Option 3: Import an official sample that downloads code from the network. This feature is not available in previous beta versions, and it is recommended to take a look at the official examples.
Option 4: Import code from the version control system. Supports CVS, SVN, Git, Mercurial, and even GitHub.
Option 5: Import non-Android studio projects. For example, the pure-life Eclipse Android project, the Idea Android project. If your eclipse project is exported using an official recommendation (that is, exporting using Generate gradle build files), it is recommended that you use option 2 for import.
Option 6: Settings.
Option 7: Help document.

If some of the options are not clickable, stating that your JDK or Android SDK directory points to problems, please see the following settings **jdk or Android SDK directory * *

2. Fill in the Application name and package name.

Default generated name:

After filling in the name:

3. Choose an Android version.

4. Choose an adaptive interface.

This page selects an activity template, and Eclipse is like, we just choose a blank activity.

So a simple studio project is complete.

Five, create a virtual machine device.

The effect chart is as follows:

Cloud Habitat Community Friendship reminds you: how to set up JDK or SDK.

Sometimes a lot of people running Android Studio will remind you that the JDK or Android SDK doesn't exist and you need to reset it. You need to be set up under the Global Project Structure page. Enter the global Project Structure page method as follows:

Select Configure--> Project Defaults--> Project Structure. Under this page, you can set up the JDK or the Android SDK directory.

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.