Hello World App Using Android Studio

Create and run your first Android Hello World application in Android Studio with step-by-step project configuration.

android studio

Hope you have installed the Android studio and configure the AVD (Android Virtual Device). Now follow the below steps to execute "Hello World using Android"

Step 1

Open the Android Studio 1.0 and Select File -> New Project …

Android New Project

if you are opening Android Studio First time then you may select from below screen

First time Project creation

If you are opening android studio first time, then click "Start a new Android Studio project".

Step 2

Minimum SD

Select the minimum SDK you need for your development and click Next

Step 3

Activity to Mobile

Select activity, this is basically what kind of template you are going to use. Now click next.

Step 4

Activity Details

Provide the details and click Finish

Step 5

Android IDE

Now select fragment_main.xml

Step 6

fragment_main.xml

Still building apps , wait if you get this kind of message

Android screen

If you see the below screen means building app is done.

Step 7

Drag the text

Drag the "Plain TextView"

Step 8

Hello world android

Java
select the "Plain TextView" and change the properties – write "Hello Word"

Step 9

Run Android App

Click "Run app"

Step 10

Choose AVD

Choose AVD and click ok. Now wait for AVD.

Android Emulator

Unlock the emulator.

Hello world done

Done.

Note – You May see below error while Running the Android App.

Error

Follow the below steps to solve the error.

intel x86

check the SDK , install the Intel x86.

Now change the bios and enable the visualization .

advanced seting

Select Change Advanced startup options

Restart now

Click Restart Now ->Trouble Shoot ->Advanced Options ->UEFI Firm ware settings

Click restart.

now Enable the virtualization.

If the above process does not solve the issue , please browse the Intel linkand follow the steps. it will help to solve the issue

About Deshawn Schimme12 Articles
Android & Kotlin writer. Writes the Android and Kotlin tutorials: building, signing and shipping apps, and the Android APIs that replaced the old ways.