Android app development tutorial for beginners / Part 1 – The Setup
Android is the most used mobile operating system in the world as of now. It is an Open-source Linux based operating system developed by Google primarily for handheld devices like mobiles and tablets. Although it has found its way to more high end devices like Televisions and Computers, it can be considered as a developing operating system with a lot of potential application.
Android applications are developed in a IDE called Android Studio which was released by Google. Android studio has several tools which are integrated into its framework to aid developers in creating an application. Some of the tools are Profilers, Visual Editors, Intellisense, Emulators, etc. Before actually starting up with the development process there some minimum requirements of the system which will be used to develop applications.
System Requirements(Windows/ Mac):-
- Microsoft® Windows® 7/8/10 (64-bit) OR Mac® OS X® 10.10 (Yosemite) or higher, up to 10.14 (macOS Mojave)
- 4 GB RAM minimum, 8 GB RAM recommended
- 2 GB of available disk space minimum,
4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image)
- 1280 x 800 minimum screen resolution
- JAVA – All the android applications will be built in Java. So, basic understanding of Java is expected.
- KOTLIN – Even though android applications can be built in Kotlin which is a bit easy as compared to JAVA, but it is not recommended if you are a beginner. Kotlin for sure makes coding easier but for a firm understanding of concepts, Java is preferred. Switching from Java to kotlin after gaining some concepts is a piece of cake.
Step 1- Download and install
The very first step if you fulfill the system requirements is to download the Android Studio application from this link: https://developer.android.com/studio
After Downloading the latest stable version, proceed to install. Here are some Screenshots of the installation screen.
Click on Next to proceed with the installation steps.
Select the components of android studio to install. It is recommended to install all the default selected components and click Next.
Browse for the location you want to install the setup and if you have an SSD, please make sure to install the entire application on SSD for faster loading time and increased performance.
After this, the setup will start installing JDK and all the components necessary for the environment to run. Be patient and this may take 10 – 30 minutes depending on your system specifications and internet speed.
After the installation is complete, Click on Next.
To Finish the installation and Start Android Studio click on Finish.
Step 2- Configure Android Studio
After the installation of Android Studio, the next step is the configuration and for that you require an active internet connection (preferably 1Mbps or more). After the installation, Android studio starts up with several configuration options including layouts, themes, SDK components, etc. Here are some screenshots for your guidance.
If this is your first installation, Choose Do not Import Settings. Or else if you want to import some custom settings, themes or preferences from your previous installation, browse the previous install location and then press OK.
The setup will now download the required dependencies from the internet. Make sure you have a good internet connection.
Click Next to proceed with the Settings.
Choose Standard for the recommended default settings or if you want to install custom dependencies and components select Custom and then proceed.
Select your favorite theme for the IDE and then click on Next.
This screen will show you the selected components to install and the total download size. Click on Finish after confirming the components and it will start downloading the files.
The download will start and will take 30- 40 mins or less depending on your internet speed. Wait until the download is complete and click on Finish.
Congratulations! The installation and setup of Android Studio is complete. Now you can start creating Android applications by clicking Start a new Android Studio Project.
In this tutorial, we learned how to install and setup Android studio for creating android applications. Hope you guys enjoyed it and if you encounter any issues or difficulties along the way please feel free to comment your questions.
* You will receive the latest news and updates on new articles
Building Custom Cloud messaging API- The Server
This is the 2nd part of the article on how to build a custom cloud messaging API for android. In this part, we will try to build a server application on Node.js and send push notifications to our android app. You can find the first…