Getting started with Android Views (Kotlin)
By: Luis A. Sierra

Creating the Hello World Android App Project

Hello, World! It is the first basic program in any programming language. Let's write the first program in the Android with Kotlin programming language.

To create and run a hello world program follow the following steps:

Step 1: Open Android Studio in your system and Create a new Android project.


Step 2: Select the Empty View Activity and then click on the Next button.


Step 3: Give a name to your project like here we give "helloworld" and then click on next button.


Step 4: Select the project location and then click on the finish button. Now the project is created.


Step 5: Now open App > src > main > res > layout > activity_main.xml file in the project navigator.


Step 6: Now go to App > src > main > java > com > example > helloworld > MainActivity and add the code below:


Step 7: Now let run our app Android with Java:


Step 8: Now wait to the simulator started 



Post a Comment

Previous Post Next Post