1) SETUP ANDROID STUDIO

Size: px
Start display at page:

Download "1) SETUP ANDROID STUDIO"

Transcription

1 1) SETUP ANDROID STUDIO This process takes approximately Minutes dependent upon internet speed and computer power. We will only be covering the install on Windows. System Requirements Android Studio has specific computer requirements depending upon the OS Core 2 GB RAM minimum, 4 GB RAM recommended At least 1 GB for Android SDK, emulator system images, and caches 1280 x 800 minimum screen resolution 400 MB hard disk space Oracle Java Development Kit (JDK) 7 Windows Microsoft Windows 8/7/Vista/2003 (32 or 64-bit) Optional for accelerated emulator: Intel processor with support for Intel VT-x, Intel EM64T (Intel 64), and Execute Disable (XD) Bit functionality Mac OS X Mac OS X or higher, up to 10.9 (Mavericks) Java Runtime Environment (JRE) 6 Optional for accelerated emulator: Intel processor with support for Intel VT-x, Intel EM64T (Intel 64), and Execute Disable (XD) Bit functionality On Mac OS, run Android Studio with Java Runtime Environment (JRE) 6 for optimized font rendering. You can then configure your project to use Java Development Kit (JDK) 6 or JDK 7. Linux GNOME or KDE desktop GNU C Library (glibc) 2.15 or later

2 Installing Installing Android has been broken up into three sections: Installing Android Studio, Part 1 - Downloading the IDE Installing JDK - Downloading and Installing Installing Android Studio, Part 2 - Installing Installing Android Studio, part 1 Throughout this course, we will be covering Android development using the latest official IDE, Android Studio. It is not the only option, others such as Eclipse with the ADT (Android Developer Tools) exist but support is being migrated across to Android Studio. First, you need to go to the Android developer website. This is a great resource as a reference guide for general development. For now though we just want to download the IDE. Click the link:

3 Read and agree to the terms and conditions, then click Download Android Studio for Windows. Locate where your android studio bundle downloaded to and run the application.

4 Allow windows to run the application. The setup will start:

5 If the Java Development Kit (JDK) is not installed you will see the following message: If you don t see this message then skip to Installing Android Studio, part 2. Otherwise, continue with Installing JDK. Installing JDK Go to the oracle website to download the JDK.

6 Scroll down the page until you see the Java SE Development Kit 7 for your desired operating system: Select the appropriate version required. If you installed Android Studio x86 (32bit) then select an x86 version of the JDK. Likewise, select x64 version of the JDK if you installed Android Studio x64. Navigate to the downloaded version and run the executable: Click Next:

7 The default options are fine, click Next: This is a relatively quick process (depending upon your computer):

8 Typically, the default location is fine, although you can change the install directory if you require it. Click Next. This is another relatively quick process (again depending upon your computer):

9 The process is now complete the JDK has been installed: Installing Android Studio, part 2 Note: Intel HAXM allows the emulator to run faster on your computer (if supported) and is highly recommended. However, if it is not supported you can continue but it would be preferable to use an actual device rather than the emulator (if possible). Follow through the next screenshots selecting the options as shown.

10 Pick the install locations for Android and the Android SDK: You will only see this next screen if you have Intel HAXM support on your computer.

11 This screen asks if you require a shortcut in your start menu, the default option is fine: This next step installs the Android Studio and SDK it may take a few minutes:

12 Click Next, when the installation screen is complete: When the whole process has complete you will see the screen below, click the Finish button:

13 Running Android Studio for the first time Make sure you are connected to the internet for this process, as Android Studio downloads any missing components on the first run. Potential Problem Make sure your connected to the internet Potential error if no connection to internet was found, connect to the internet and click cancel.

14 Downloading the SDK The SDK needs to update on the first run. However, unless you are using an old version the installer then it is already pre-packaged with the newest version and the installer will skip this step. When you see this next screen, the process is complete.