Installation and configuration of Android Studio
Before starting with the development of Android applications you need to configure the platform to use for this purpose. This aspect involves a number of steps including the installation of the Java Development Kit (JDK) and the development environment Android Studio , which includes in turn the ‘ Android Software Development Kit (SDK) .
The Software Development Kit (or, more briefly, SDK ) has been developed using the programming language Java and also the Android applications are developed using this language. So the first component to be installed on our system is the Java Development Kit (or JDK ).
Then We download the JDK from the site Oracle on this page .
Obviously we download the latest version compatible with our operating system. After downloading start the executable file and follow the simple installation instructions:
After installing the JDK, the next step is the download of ‘IDE Android Studio available at this page .
We initiate the download and when finished click on the corresponding executable file:
During installation screens that appear classical, among other things, allow us to set the installation path of Android Studio and related SDKs:
Let the default options for all other items and continue until installation is complete.
When you first start Android Studio, a dialog box is displayed with options to import settings from an older version of Android Studio. So, if you want to import settings, select the appropriate options, otherwise indicated they do not want to import any settings and proceed by clicking on the OK button.
After a few seconds of loading (and in some cases, downloads of additional items), the Android Studio Welcome window appears.
The last step of the installation environment of the development phase is to verify such as Android package are installed on our system and possibly to install the missing ones. To do this, click on the item Configure the welcome window and then select the SDK Manager option.
In the window that opens we click at the bottom of Launch Standalone SDK Manager and in this way you will see the ‘ Android SDK Manager .
Inside the SDK Manager make sure that the following packages are installed.
- Tools -> Android SDK Tools
- Tools -> Android SDK Platform-tools
- Tools -> Android SDK Build-tools
- Platform SDK (various versions) -> SDK Platform
- Platform SDK (various versions) -> ARM EABI V7A System Image
- Extras -> Android Support Repository
- Extras -> Android Support Library
- Extras -> Google Repository
- Extras -> Google USB Driver (Required on Windows systems only)
- Extras -> Intel x86 Emulator Accelerator (HAXM installer)
In the event that some of these do not result installed just put the checkmark on the checkbox to the left of the package and click the button Install packages . After accepting the license agreement will start installation of the selected package.
Obviously, as we will see, you can also install the package at a later stage, so for now I recommend you do not install all of them but only those of the latest versions (from 5 onwards).
We are sorry that this lesson was not useful for you!
Let us improve this lesson!
Tell us how we can improve this lesson?