Android Application Development Setup - …...an android application in the class. What to bring to...

Post on 03-Jun-2020

1 views 0 download

transcript

Android Application Development

Setup

SWATHI MATSA

System Requirements

To develop Android applications you need to have the following software installed:

● Java Development Kit, Java Runtime Environment

● Android Studio IDE

● Intel HAXM Accelerator

The following slides describe how to install these in detail

Installing java JDK and JRE

To install JDK and JRE click on the link below and you should see something like this as shown below.

https://jdk7.java.net/download.html

Installing java JDK and JRE

Select the appropriate JRE and JDK exe depending on your platform (Note: 32 bit and 64 bit both are available.)

When downloading JRE, it would ask to pick either Save file or Cancel. Select Save file.

Installing java JDK and JRE

After downloading JRE. Double click on the downloaded file. you should see something like this.click on install.

Installing java JDK and JRE

When you are done installing JRE you should see something like this as shown.

Installing java JDK and JRE

While downloading JDK follow the similar procedure as JRE installation.

● Save the file to the default settings.

● It will ask if you want to allow the computer to make the changes. Click yes.

● pick all the default settings and install JDK. You should be able to see something like this at the end as show below.

Installing Android studio IDE

To download Android studio IDE click on the link below. And click Download Android Studio for Windows.http://developer.android.com/sdk/index.html#top

Installing Android studio IDE

● After you download the file click on it and install. select all the default settings.

Installing Android studio IDE

● Pick the default settings for the configuration settings.

● Select Android studio and click install.

● When the installation of Android studio is done this is how it looks.

Intel-x86 Accelerator

Download Intel Hardware Accelerated Execution Manager from the below sitehttps://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager Click on haxm-windows_r05.zip (1.1.1).

Intel-x86 Accelerator

Next you will see something like this a the bottom of the page click on it and download Haxm for windows.

Intel-x86 Accelerator ...

● Unzip the downloaded archive and run the installer.

● You would see welcome screen.

Click next on the welcome screen to go to next step of adjusting RAM size.

Intel-x86 Accelerator ...

The following screen should appear.

Select the maximum possible (2000MB) as the RAM size. Most of the newer android images require more RAM. So default 1024MB might not be sufficient.

Intel-x86 Accelerator ...

If you see this page after installation that means you have installed Android Studio in your system.

If you have these things ready we can start building an android application in the class.

What to bring to the class

● You should have windows based laptop with the software mentioned in the previous slides.

● An android based phone to test your application.

● Micro USB cable (to connect your phone to the laptop)