Wednesday, 21 September 2016

Android Studio on Windows

How to Install Android Studio

Before we get started, you’ll need to ensure that you have installed JDK 6 or higher ( JDK7 is required for Android 5.0 and higher) on your PC.
Note: All of the following instructions, as well as the installation tutorials are for your PC. You can’t download or install Android Studio on your Android device.
To check your version, open terminal (OS specific details below) and type:
javac -version
If the JDK doesn’t show up, or you have an older version and would like to upgrade, download JDK here.

How to Install Android Studio on Windows

  1. Download and launch the .exe file to your PC from the Android Studio home page.
  2. Follow the instructions on the setup wizard to install Android Studio.
  3. If asked to point to where Java is installed, you need to set an environment variable in order to direct the installer to the proper location. To do that, select Start menu > Computer > System Properties > Advanced System Properties. From there you’ll open the “Advanced” tab and click “Environment Variables.” Here you’ll add a new system variable titled JAVA_HOME that points to your JDK folder.
For example:
C:Program FilesJavajdk1.7.0_21
The actual tools and other SDK packages are stored outside of the directory that contains Android Studio. To access the tools directly, open the command prompt (Apps > Windows System > Command Prompt) and use the following to find them:
Users<user>sdk

Adding & Installing Packages

  1. Click “SDK manager” in the toolbar and select one of the following from the Tools directory:
    • Android SDK Tools
    • Android SDK Platform-tools
    • Android SDK Build-tools (select the highest version)
  2. And/Or select the following from the Android X.X (latest version) folder:
    • SDK Platform
    • System image for emulation, such as ARM EABI v7a System Image
  3. Click Install X packages
  4. Accept the license agreement
  5. Click Install

How to Install Android SDK

First, download the stand-alone SDK files to your  Windows . Next…
Note: All of the following steps will take place on your PC. You cannot install Android SDK on your phone or tablet. 

Windows

  1. Double click the .exe
  2. Note the name and location of the SDK on your system so that you can refer back to it easily when using the SDK tools from the command line.
  3. Wait for the installation to finish, and Android SDK Manager will start automatically.

No comments:
Write comments