Want to build an Android apps? Follow this guide as we learn Android app development together. Whatever type of app you want to build, there are enough similarities between apps that the first few steps are the same.
We will build a native Android app using Android Studio and Kotlin, a programming language that has gained popularity the last couple years.
- A laptop or desktop computer (you cannot build an Android app on your phone or tablet)
- At least 8GB RAM (recommended)
- a monitor (or laptop) with a screen resolution of 1280 x 800 or higher
- internet (initially to download Android Studio 3.2, which is about 980MB)
Step 1: Install Android Studio
Visit the official Android Developer website then download and install Android Studio, the official editor for developing native Android apps using Kotlin. After installation, we’re ready for our next step!
Step 2: Open Android Studio
When you first open Android Studio, you should see a popup screen similar to the following. If you’ve already built an Android app, you will see the latest projects on the left. Because I’ve used Android Studio before, I have some recent projects. Your’s will be blank.
Step 3: Create a new project
Click “Start a new Android Studio project” to create your first project. If you have an existing app you want to open, click the project name on the left side of the screen.
Step 4: Name your app and choose Kotlin
Application Name is the name of your app. You can easily change it later.
Company domain can be example.com (if you don’t already have a domain or don’t know what to enter)
Project location is the file folder location on your hard drive. The default is fine, and you can change this later.
With our project we’ll be using Kotlin, so it’s important to make sure the “Include Kotlin support” option is checked.
Step 5: Configure Android version compatibility
Chances are you use the latest version of Android. But not all Android users are like you. Some have older versions of Android on the phone or tablet, for a variety of reasons. However, selecting API 21 is probably best for now. (It’s currently October 2018.)
Step 6: Choose a template
With Android Studio we can set up our app with just the basics and customize the app as we progress. Think of this as a blank canvas which we can build upon.
Step 7: View the Design Layout Editor in Android Studio.
The setup for our Android app is now complete! Next let’s start building the core functionality into our app.
The next tutorial of this series will appear on Saturday, October 6, 2018.
Update: Part 2 is now available.