Sunday, May 29, 2016

Installation of Android Studio

Installation of Android Studio:
1. Android Studio installer can be downloaded from below link:

2. Double click on exe set up

















3.Click Next. "Android SDK" and "Android Virtual Device" selections are optional to the user. Here I am selecting both the options: 
















4. Click Next. User can provide Android Studio installation location and Android SDK Installation location path. However if user provides same drive path for Android studio installation and Android SDK Installation location path, then below error message will display:



















5. change the path of SDK installation path to different drive location, example: E:\Android_sdk  and click Next.
















6. Click Install

















After installation, create ANDROID_HOME system variable and provide path where Android SDK is installed.
For Example: C:\Users\<username>\AppData\Local\Android\sdk
Post that add path details for tools and platform-tools in  Environment Variable under Path variable as illustrated in below screenshot












Sunday, May 22, 2016

Pre-requisite before installing Android Studio on Windows system

Pre-requisite:

  1. Before installing Android Studio you need to install JDK in your system.
  2. Download JDK from below link: http://www.oracle.com/technetwork/java/javase/downloads/index.html 
  3. Post installation of JDK, you can verify by running below command in command prompt window:
    javac -version 
     
  4. After installation of JDK, you need to set the JAVA_HOME in environment variable. Follow below steps for setting JAVA_HOME in Environment Variables
    • Open Control Panel 
    • Click "System and Security"
    • Click "System"
    • On Left Hand Nav , click "Advanced system settings"
    • System Properties popup window will appear.
    • Click Advanced tab
    • On bottom you will find "Environment Variables..." button.
    • Below is the screenshot for better illustration:
       


                     Click "Environment Variables..." button and you will see "Environment Variables"                                popup window appears.
       4.  Under "System variables" section , click New.
            
       
      5.  New System Variable popup will appear. Provide the new System Variable name and path                   where JDK is installed in Variable Value field. Click OK.