Android emulator setup

Introduction

If you don’t have an android test device and you want to test the Device enrollment, android single sign on, and other android based labs, there's an emulator you can install in your laptop an follow along with the particular lab manual as you would do on a physical device. What follows is the installation instructions for such software.

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

Windows Setup

Step 1: Downloading the installer
  1. Go to https://developer.android.com/studio/archive (if prompted, agree to the terms and conditions)
  2. Click  Download Android Studio Electric Eel 2022.1.1 Patch 1
Step 2: Windows 10/11 installation
  1. Go to your downloads folder
  2. Right click on your recently downloaded file and click on Run as administrator
  3. Click Yes to allow the installer to make changes to your machine
  4. Click Next on the welcome to android studio setup window

Make sure both Android studio and android virtual device are selected and click next

Select your installation location and click next

choose your start menu shortcut configuration and click install

on the installation complete window click next

In the completing Android Studio Setup window DESELECT the Start Android Studio checkbox and click Finish

On your local system, launch a notepad and add the following:

Vulkan = off

GLDirectMem = on

Save the document as advacedFeatures,ini to C:\Users\%username%\.android. Be sure to select the Save as Type as All Files (*.*)

Step 3: Initial configuration
  1. Click the Windows Start button and type Android Studio.
  2. Click the Android Studio App to launch the program

in the Data Sharing window click on Send usage statistics to Google

 

In the android Studio setup wizard, in the Welcome window click Next

In the Android Studio Setup Wizard  in the install type window

  1. Make sure Standard setup radio button is selected
  2. Click Next

Choose your preferred UI theme and click Next

On the verify Settings window click Finish

  1. In the left pane, select android-sdk-license and click Accept
  2. In the left pane, select Intel x86 Emulator Accelerator (HAXM installer) and click Accept
  3. Click Finish

In the Downloading Components window click Finish

In the Welcome to android studio window click New Project

In the choose your project window, choose No Activity and click Next

In the configure your project window leave the default settings and click Finish

In the Completing Requested Actions window click Finish

If prompted, put a check in the box next to Private networks and click Allow access.

Click on the AVD Manager icon on the toolbar

In the right pane, click Create Virtual Device

Select the Pixel 4 Image marked with Play Store access and click Next

In the release name column click Download Arrow next to Sv2

In the license agreement window select the radio button next to I agree and click Next

In the Installing Requested Components window Click Finish when the progress bar shows Done

In the Select a system image window click Next

In the Android Virtual Device (AVD) window, click Finish.

In the right pane, click the "Play" icon to start the emulator

In the lower right pane, click the pop-out window and resize the device to suit your viewing needs.

Your emulator is ready to use.

Apple MAC OS Setup

Introduction
Step 1. Will cover Android Studio Installation
Step 2. Will cover Android Studio Configuration

Step 1. Android Studio download & installation
  1. On your laptop,
  1. If prompted, agree to the terms and conditions
    • If you are on a Mac
      • Select Mac with Intel chip or Mac with Apple chip
  1. In the Downloads
    • Launch the android-studio-.dmg
  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 New Project window
    • No Activity section
      • Next to Name
        • enter Livefire Usability & Security
    • Select Finish
  1. In the New Project window
    • There will be about 5 minutes of downloading and Install Actions
    • On the Completing Requested Actions page
      • select Finish
Step 2. Android Studio Configuration
  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 wizard
    • System Image page
      • under Recommended
        • next to Tiramisu (Extension Level 5)
          • select the SV2
        • select Next
  1. In the Android Virtual Device (AVD) window
    • Next AVD Name
      • enter Livefire Usability Security
    • 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
  1. On your Laptop / Desktop
    • Note you are able to now float your Android Emulator across your Desktop
  1. ADB needs to be downloaded from https://developer.android.com/studio/releases/platform-tools
    • Once downloaded it needs to be unzipped and put into Library/Android/Platform-tools

0 Comments

Add your comment

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