Android – Setup and Environment

android oracle

Android Studio Development Environment

Before you start developing your Android app, you need to take the first step set up a computer system as a development platform. Therefore the number of steps required to install the Java Development Kit (JDK) and Android Studio Integrated Development Environment (IDE), which also includes Android Software Development Kit (SDK). This chapter will walk you through the steps required to install the prerequisite Android components development of applications for systems based on Windows, Mac OS X and Linux.

System Requirements

Android application development can be performed on any of the following types of systems:

  • Windows Vista (32-bit or 64-bit)
  • Windows 7 (32-bit or 64-bit)
  • Windows 8 / Windows 8.1 or newer
  • Mac OS X 10.8.5 (Intel-based systems only)
  • Linux systems with version 2.15 or later of the GNU C library (glibc)
  • At least 2 GB of RAM (preferably 4 GB)
  • Approximately 4.5 GB of available disk space 

Install the Java Development Kit (JDK)

The Android SDK was developed using the Java programming language. Same Android apps are also developed using Java. Received Java Development Kit (JDK) is the first component to install. Android development requires Standard Edition 7 to be installed. Java Platform Development Kit. Java is provided for both development (JDK) and runtime. (JRE) packages for Android development, you need to install the JDK.

Windows JDK Installation

For Windows systems, the JDK can be obtained from the Oracle Corporation website using
following url:
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

Assuming a suitable JDK is not yet installed on your system, download version 7. The JDK that matches the target computer system. After loading run the installer executable and follow the onscreen instructions to complete installation process.

Mac OS X JDK Installation

Java is not installed by default in recent versions of Mac OS X. To confirm availability or else Java, open a terminal window and enter the following command:

               java -version

Assuming Java is currently installed, output similar to the following will appear in terminal window:

                       java version “1.7.0_79-b15”
               Java (TM) SE Runtime (build 1.7.0_79-b15)
               Java HotSpot (TM) 64-bit Server VM (build 24.79-b02, mixed mode)

If Java is not installed, enter the “java” command in a terminal window will result in a message with the following content and a dialog box a desktop with a More button that displays Oracle when clicked Java webpage:

             No Java runtime, installation required

On the Oracle Java web page, search for and download the Java SE 7 JDK installation.

            package for Mac OS X.

Open the downloaded disk image (.dmg file) and double click the icon to install Java package:

android oracle

A Java OS X Installer window will appear, guiding you through the steps. when installing the JDK. Once the installation is complete, go back to the Terminal window and run the following command followed by the above Java version information should appear:

            java -version