Android emulator setup

Introduction

You will need an Android test device for this session.

This section covers deploying an emulator for future hands on exercises.

If something goes wrong and you want to start again with a fresh device, instructions are included for redeploying the os image.

  • Anyone using a Windows platform complete Section 1
  • Anyone using a Mac OS platform complete Section 2
Section 1 : Windows installation and configuration
  1. On your laptop,
    • Go to https://developer.android.com/studio/ 
    • Select Download Android Studio
  1. In the Licensing Terms and Conditions page
    • Scroll down
      • Next to :- I have read and agree with the above terms and conditions
        • Select the Checkbox
      • If you are on a Mac
        • Select Download Android Studio Bumblebee xx for Windows
  1. Go to your downloads folder for your laptop
    • Locate android-studio-xxxx-windows.exe
      • Where xxxx is the version that was download
      • Right Click on android-studio-2021.1.1.22-windows.exe
        • Click Run As Administrator
  1. In the Welcome to Android Studio Setup Window
    • Click Next
  1. In the Choose Components Window
    • Under Select components to install
      • Select Android Studio Check Box
      • Select Android Virtual Device Check Box
      • Click Next
  1. In the Configuration Settings Window
    • Under Install Locations
      • Leave it default
        • Click Next
  1. In Choose Start Menu Folder Window
    • Leave it default
      • Click Install
      • Wait for Installation to Complete
  1. In the Installation complete Window
    • Confirm the message
      • Setup was completed successfully
        • Click Next
  1. In the Completing Android Studio Setup Window
    • Select the Checkbox for Start Android Studio
      • Click Finish
  1. If Windows Security Alert Window appears
    • Click Allow access
  1. In the Android Studio Menu bar
    • Select Device Manager
  1. In the Android Studio
    • Device Manager
      • Select Create device
  1. In the Android Studio
    • Select Hardware window
      • Under Choose a device definition
        • Select Pixel 4 with the Play Store icon
      • Select Next
  1. In the Android Studio
    • In the Select a system Image window
      • Select R Download 30 x86    Android 11.0 (Google Play)
  1. In the License Agreement Window
    • Select Accept radio button
    • Click Next
  1. In the Component Installer Window
    • Wait for Installer to complete the download
    • Once the download is complete.
      • Click Finish
  1. In the System Image window
    • Select Next
  1. In the Android Virtual Device (AVD) window
    • Next AVD Name
      • Type HZNADVINT
    • In the bottom right corner
      • Select Finish
  1. In the Android Virtual Device (AVD) window
    • Device Manager
      • Under Actions
        • Select the Play button
  1. In the Android Virtual Device (AVD) window
    • In the bottom right hand corner
      • In the Emulator area
        • Select the Show Options Menu
  1. In the Android Virtual Device (AVD) window
    • Options Menu
      • Select View Mode
        • Select Undock
Section 2: Mac OS installation and configuration
  1. On your laptop,
    • Go to https://developer.android.com/studio/ 
    • Select Download Android Studio
  1. In the Licensing Terms and Conditions page
    • Scroll down
      • Next to :- I have read and agree with the above terms and conditions
        • Select the Checkbox
      • If you are on a Mac
        • Select Mac with Intel chip or Mac with Apple chip
  1. Check the box next to I have read and agree with the above terms and conditions
    • Select Download android Studio for your platform
    • Select save file when prompted
  1. On your Mac Laptop
    • Open your download *.dmg file
  1. On your Mac Laptop
    • Drag the Android studio icon into the Applications folder.
  1. On your Mac Laptop
    • From your Applications folder
      • double click your Android Studio icon
  1. On your Mac Laptop
    • "Android Studio" is an app downloaded .. window
      • Select Open
  1. In the Welcome to Android Studio page
    • Select New Project
  1. In the New Project page
    • Select No Activity
      • Select Next
  1. In the No Activity window
    • Next to Name
      • enter Livefire Horizon Cloud Services Advanced Integration
    • Select Finish
  1. In the Android Studio Menu bar
    • Select Device Manager
  1. In the Android Studio
    • Device Manager
      • Select Create device
  1. In the Android Studio wizard
    • Select Hardware window
      • Under Choose a device definition
        • Select Pixel 4 with the Play Store icon
      • Select Next
  1. In the Android Studio
    • In the Select a system Image window
      • Select " R Download 30 x86    Android 11.0 (Google Play)"

In the Screenshot this version has already been downloaded

  1. In the Component Installer window
    • Select Finish
  1. In the System Image window
    • Next to API 32
      • Select Download
        • When the download is complete
        • Select Finish
    • At the bottom right-corner of the System Image window
      • Select Next
  1. In the Android Virtual Device (AVD) window
    • Next AVD Name
      • enter HZNADVINT
    • In the bottom right corner
      • Select Finish
  1. In the Android Virtual Device (AVD) window
    • Device Manager
      • Under Actions
        • Select the Play button
  1. In the Android Virtual Device (AVD) window
    • In the bottom corner
      • In the Emulator area
        • Select the Show Options Menu
  1. In the Android Virtual Device (AVD) window
    • Options Menu
      • Select View Mode
        • Select Undock
      • Select View Mode
        • Select Float

0 Comments

Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.