How to install Android Studio on your PC and create the first application

  • Jelly Bean(Android 4.1–4.3) — API 16–18
  • KitKat(Android 4.4) — API 19–20
  • Lollypop(Android 5.0–5.1) — API 21–22
  • Marshmallow(Android 6.0) — API 23
  • Naught(Android 7.0–7.1) — API 24–25
  1. Use the default emulator
    An emulator is something like a virtual android phone. You can just simply click on the run button in the Android Studio IDE and run the application. Also, can change the target emulator before running the app and check how it shows on different devices. However, it will take some time to build the emulator. You have to be little patience at this phase.
  2. Use Genymotion emulator
    Other than using the default emulator, you can also download and install a faster emulator to your IDE. One of most famous such emulator is Genymotion. You can download it from https://www.genymotion.com/download/ and install it. After it is being installed, you need to open Android Studio and go to File->Settings->Plugins. There you have to search for the Genymotion plugin and install it. Then it will appear on your IDE. Now you have to click on that and do few settings as it suggests. I will do a more detailed post about this later. However, after this point, it won’t be difficult to configure Genymotion. You can find some youtube videos related to integrate Genymotion emulator to Android Studio.
  3. Run on a mobile phone
    This is my favorite and fastest method. However, you can’t do this if you haven’t an android phone. Also, your device’s API level should be higher than the minimum API level which your application supports. First of all, you need PC drivers for your device. You have to search matching drivers to your device and install them on your computer. After it, you have to plug in the mobile device using a USB cable and click on the run button of the app. Then you will see a box which shows available emulators and your mobile device. Since you are trying to run the app on your physical device, you need to select the mobile device from the list. After few seconds the app will installed and opened on your device.

--

--

--

Software Engineer @WSO2

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

My Next Chapter in Distributed Computing: Joining Sylabs to Containerize HPC and Deep Learning

Streamlit in Practice | Learn how to Create Interactive Dashboards

Spring ’21 Flow Builder Sneak Peeks

Good Programmer Notes — p1

How to remove google cloud project due to Dialogflow

3 Revolutionary Things That Changed Software Development

VMware Tanzu Kubernetes in pictures

CIAM Solution Series — Problem 3: What is the best user store type for your IAM solution?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nipuna Dilhara

Nipuna Dilhara

Software Engineer @WSO2

More from Medium

Integration of Huawei Account Kit and Analytics Kit in Quiz Android app (Kotlin) — Part 1

Android, Aligning Views In a Circle Shape

Automatic/One-Tap SMS Verification with the Google’s SMS Retriever API/ SMS User Consent API (Part…

Google Play Billing Demystified #1