Lect_1 - Deekshith19/Android_Security GitHub Wiki

Download Android Studio

https://developer.android.com/studio

image

Screenshot 2024-05-23 102027

Click on download and it will be downloaded for your specific OS

image

Install Android Studio

Next

image

Next - Specify the folder - Next

image

image

Finish

image

Setup

image

image

Default required components are being downloaded

image

Click on Finish

image

Creating a new project

image

image

Create a new Empty Activity. The required values are filled as shown in the below screenshot. There was no option to select Language when the Template selected was Empty Activity. The finish button is clicked and we wait for the Android Studio to generate and build the project.

Give the details as you want and specify the requied language , whether JAVA or Kotlin I selected Java after which click on Finish

image

Wait for the gradle to build your project

image

Building Completed, and now the interface will somewhat look like this.

image

Creating Android Virtual Device

We click on Device Manager option available in the Right Side and click on the Create new Virtual Device option.

image

Select Pixel 4

image

Configure the hardware profile

image

Click on next

image

After selecting the required hardware profile, we can select the System Image that would be used in this Virtual Device. This would specify which version of the Android Platform should be running on the created virtual device. As per the video, the Android R (11.0) version is considered to be stable currently.

image

image

And click on next and then check the details and Finish

image

After clicking on Finish button, the AVD that was created appears in the Device Manager list of devices.

image

Starting Virtual Device Emulator

We try to click on the Play button but notice that the Device is started

image

Exploring the created application

We click on the Run Application button, to launch the created application in the Android Virtual Device.

image

image

On clicking on the Email icon, we note that a Snackbar message is shown in the application.

image

Debugging

image