Into the Studio
Here we go deep into details of Android Studio. It provides graphical tools for creating, editing and managing android projects. These projects contain everything that define your android app from source code to build configurations and code for testing. Here we start as a child 😛
Open Android studio by clicking on the icon.
The application opens slowing as it contains lots of libraries and other configuration files to load. Wait a bit after clicking the icon while the below screen shows up.
Studio is powered by IntelliJ Platform as it shows up on the welcome screen. Studio takes a couple of seconds to load completely and ‘Quick Start’ window appears. Quick Start window helps you in picking the things easily that you can do with studio.
Couple of actions are provided start forward to start with. Such as you can create a new project, import an existing project, import a sample code and more. Initially, to start with android studio, check if the configuration is properly set.
Click on the ‘Configure‘ which shows up the set of things that has to be configured before starting a project with studio.
Though you have all the set of configurations to be set. Firstly, You need to be sure about ‘Project Defaults’. Proceed by clicking ‘Project Defaults’.
Project Defaults has the following 3 main things to deal with:
- Project Structure
- Run Configurations
Settings is all about the basic preferences that are considered to be existing in any development environment such as appearance, font specs, themes, configure plugins and system settings such as password policies, HTTP proxy, updates and more.
Project Structure is the basic and important feature to be set before anything else. It is the core necessity to start building a project. It contains locations to be set for the studio to access while creating, building applications. Studio needs exactly to main things:
- Android SDK location
- JDK location
Android SDK location is the directory where it is located and this is used creating an android project. As the programming used to build android application is JAVA, we need to provide the JDK location to studio which helps in compiling JAVA programs.
Run Configurations window will help in configuring the way you want to run your android application. There are two ways of running your application, one using your own android device other using the emulator window.
Navigate to the ‘Defaults’ which is the default run configurations available. The android application shows the configurations that are existing. As an android studio project contains different set of modules, each module can have its own run configuration.
Coming back to ‘Configure‘, we have SDK Manager to deal with. SDK Manager helps in showing up the downloaded files of android that are needed in app development.
Android SDK platform packages are shown up and sources pertaining to API levels by default. Studio will automatically check for updates. You can see the individual package details by checking the ‘Show Package Details’ checkbox right below.
Every API level contains its own version of common packages among different API levels. Click on ‘Launch Standalone SDK Manager’ to launch the SDK Manager window out of Android Studio.
Tools, Extras and set of API levels along with its packages are listed. This window will prompt for the new packages to be installed and old packages to be deleted if not in use.
Above is all about the deep into the Studio. Here we have more features to deal with. You can import a sample out of the available sample projects provided by Android Studio as shown below:
Great list of sample android projects are provided by android studio. These projects help in defining the guidelines which you can follow when you are building similar projects.
We shall deal with creating an new android studio project in next tutorial.
Download this tutorial
204 total views, 1 views today