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
- Go to https://developer.android.com/studio/archive (if prompted, agree to the terms and conditions)
- Click Download Android Studio Electric Eel 2022.1.1 Patch 1
- Go to your downloads folder
- Right click on your recently downloaded file and click on Run as administrator
- Click Yes to allow the installer to make changes to your machine
- 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 (*.*)
- Click the Windows Start button and type Android Studio.
- 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
- Make sure Standard setup radio button is selected
- Click Next
Choose your preferred UI theme and click Next
On the verify Settings window click Finish
- In the left pane, select android-sdk-license and click Accept
- In the left pane, select Intel x86 Emulator Accelerator (HAXM installer) and click Accept
- 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
- On your laptop,
- Go to https://developer.android.com/studio/archive (if prompted, agree to the terms and conditions)
- Click Download Android Studio Electric Eel 2022.1.1 Patch 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
-
If you are on a Mac
- In the Downloads
- Launch the android-studio-.dmg
- On your Mac Laptop
- Drag the Android studio icon into the Applications folder.
- On your Mac Laptop
- From your Applications folder
- double click your Android Studio icon
- From your Applications folder
- On your Mac Laptop
-
"Android Studio" is an app downloaded .. window
- Select Open
-
"Android Studio" is an app downloaded .. window
- In the Welcome to Android Studio page
- Select New Project
- In the New Project page
- Select No Activity
- Select Next
- Select No Activity
- In the New Project window
-
No Activity section
- Next to Name
- enter Livefire Usability & Security
- Next to Name
- Select Finish
-
No Activity section
- In the New Project window
- There will be about 5 minutes of downloading and Install Actions
- On the Completing Requested Actions page
- select Finish
- In the Android Studio Menu bar
- Select Device Manager
- In the Android Studio
-
Device Manager
- Select Create device
-
Device Manager
- In the Android Studio wizard
-
Select Hardware window
- Under Choose a device definition
- Select Pixel 4 with the Play Store icon
- Select Next
- Under Choose a device definition
-
Select Hardware window
- In the Android Studio wizard
- System Image page
- under Recommended
- next to Tiramisu (Extension Level 5)
- select the SV2
- select Next
- next to Tiramisu (Extension Level 5)
- under Recommended
- System Image page
- In the Android Virtual Device (AVD) window
- Next AVD Name
- enter Livefire Usability Security
- In the bottom right corner
- Select Finish
- Next AVD Name
- In the Android Virtual Device (AVD) window
-
Device Manager
- Under Actions
- Select the Play button
- Under Actions
-
Device Manager
- In the Android Virtual Device (AVD) window
-
In the bottom corner
- In the Emulator area
- Select the Show Options Menu
- In the Emulator area
-
In the bottom corner
- In the Android Virtual Device (AVD) window
-
Options Menu
- Select View Mode
- Select Undock
- Select View Mode
- Select Float
- Select View Mode
-
Options Menu
- On your Laptop / Desktop
- Note you are able to now float your Android Emulator across your Desktop
- 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