Creating an application

Let's create a simple Android app as a client that will retrieve the REST API using the GitHub API:

  1. First of all, we need to create an app from Android Studio and put down your project and the company domain. Don't forget to check Include Kotlin support. The following screenshot shows the Create Android Project window:

  1. Then select the minimum API version from the Phone and Tablet option. There is no need to add other options for this project. After clicking Next, in the add an Activity to mobile field, you can select Empty Activity and then, after renaming the activity name and layout, click Finish. After the build, you will be ready to start creating an Android app.

After creating the project, we need to implement the dependencies to test.