Lesson 2. Installing Android Studio

Lesson 2. Installing Android Studio

Writing programs requires a development environment. In this tutorial, we'll take a closer look at how to install and configure this development environment.

I will describe the installation can be applied to Windows 7.

Lesson updated 04/06/2017

There are many screenshots and instructions in this article. Keep in mind that software versions are constantly changing and you may look different and your versions may be different.

1. Java SDK (JDK)

Because application development is done in Java, we need to download and install the appropriate SDK, also called JDK (unless, of course, it is already installed).

You can download it here. Click the nearest button there JDK Download, Choose the version for your operating system, download and install. If the link doesn't work then just googly "java sdk download".

After installation, I recommend restarting the computer.

2. Development environment + Android SDK

In the development environment, we will create the application and receive the ready-made application on the output. There are several development environments now, we will choose Google Studio recommended by Google.

Open this page and click Download Android Studio button there. If you need a specific version, click Download Options and choose your version there.

Please note that the file can weigh up to 2 gigs.

So, downloaded the exe file. We launch it. Click Next until he asks for a path.

We are required to indicate two ways. The first path will be used to install Android Studio. The second is to install the Android SDK.

Let's replace them with ours. To do this, let's create a directory android. Just in case, make sure that the path to it is free of spaces and Russian characters. example – <имя диска>: Android. I'll have it d: android. And this way we substitute in the Wizard.

Click Next several times until the installation starts. Android Studio will start when installation is complete. If it does not start, look for its shortcut in Start.

First, it asks if you want to import the previous version's settings.

We leave the bottom point selected and click OK. We don't have any old settings yet.

Next, the installation wizard will appear

click Next

Here we leave the Standard

click Next

Wizard tells us that he needs to download several components to complete the installation

click Next

The download process has gone

Then the unpacking process

Finally, when it's finished, we click Finish, and the Welcome screen opens.

Following these steps, we were provided with a development environment for encoding Android applications. If something does not work out or gives an error – try looking at the forum or googling, you are probably not the first to encounter such a problem and there is already a description of the solution on the network.

Android Studio will periodically plead with you to download and install updates. I strongly advise against doing this until you are new. After the upgrade, you are unlikely to notice any innovations in the new version of the studio, and you can create considerable problems for yourself.

In the next lesson, we'll set up our Android Virtual Device (AVD), create our first app and launch it. AVD is an Android smartphone emulator that lets you run and test applications. Do not connect your smartphone every time.

We will also look at the structure of the draft program.

Discuss in forum (245 replies)

Leave a Comment