Overlook on Android Studio: 1 Getting started with Android Studio


Topics Covered

Installing Android Studio


Warning: Cannot modify header information - headers already sent by (output started at /home/bajayk/public_html/wp-content/plugins/all-in-one-seo-pack/aioseop_class.php:3978) in /home/bajayk/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220

There is some prerequisite software and hardware requirement which you should know before installing Android Studio. Android SDK requires at least minimum version of Windows XP with the 4GB of RAM of PC. Also you need to installed JDK(Java Development Kit). When I was writing this article the best version 1.8 of JDK was available.

If you have already installed JDK and you want to check the version of JDK. Just open command prompt by Run > cmd from start menu and type “java -version” see the below image.

Overlook on Android Studio

If you found older version of Java or you don’t have installed JDK then you can get latest version of JDK from the Oracles official website. See the link http://www.oracle.com/technetwork/java/javase/downloads/index.html.

Overlook on Android Studio

Download the apropriate version of JDK and install it. After installing JDK you have to set JAVA_HOME environment variable. To set environment variable Go to System properties > Environment Variables > System vaiables > New and set the path for JAVA_HOME. See the image below.

Overlook on Android Studio

Now go the Google Developer Link (http://developer.android.com/sdk/index.html) and download Android Studio setup. See the image below.

Overlook on Android Studio

Installation steps :

1. Double Click on Android Studio setup exe.
2. Click on next button to continue setup.

Overlook on Android Studio

3. Choose the components to install. If you dont have installed android sdk before then select all the components. Android sdk is the collection of all the API versions of the Android SDK. With Android Verual Device you can create android emulators to test application without actual device required. And HAXM is helps emulator to run faster. To know about more HAXM visit https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

Overlook on Android Studio

4. In the next screen select the installation location for Android Studio. If you have already installed android SDK the set the location for sdk where you installed. If not then take it default or you can choose where you want.

Overlook on Android Studio

5. Set the RAM configuration and continue.

Overlook on Android Studio

6. Choose start menu folder to created shortcuts and start installaction.

Overlook on Android Studio

Overlook on Android Studio

7. Once installaction process done click on finish. And installation is done.

Overlook on Android Studio

Updating Android SDK


Warning: Cannot modify header information - headers already sent by (output started at /home/bajayk/public_html/wp-content/plugins/all-in-one-seo-pack/aioseop_class.php:3978) in /home/bajayk/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220

Before start working with Android Studio make sure you have updated you Android SDK.

To update Android SDK open SDK Manager where you installed and select necessary API and tools which you want and click on install packages.

Overlook on Android Studio

Once you done with updating packages close the SDK Manager.

Creating New Project


Warning: Cannot modify header information - headers already sent by (output started at /home/bajayk/public_html/wp-content/plugins/all-in-one-seo-pack/aioseop_class.php:3978) in /home/bajayk/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220

Here you can see how to create new Android Project in few steps.
1. Run Android Studio from Start Menu > Android Studio > Android Studio.
2. Click on Start a new Android Studio project.

Overlook on Android Studio

3. Give the application name, your domain for package name and project location to generate project files and folder.

Overlook on Android Studio

4. Select platforms for targeted devices.

Overlook on Android Studio

5. Here you will find sample project templates. Select any template which is match with your requirement. In my case I am going to select Black Activity as I want blank project only.

Overlook on Android Studio

6. Set the names for Activiy, Layout, Title and Menu and click on finish.

Overlook on Android Studio

7. Wait for few seconds until project gets created.

Overlook on Android Studio

8. Once project created you will see the project created with Java and XML file for Layout with basic code sample.

Overlook on Android Studio

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *