Setting up an Android Emulator for testing Intune features on Apple macOS

Overview

In September 2020 Vikash Sivanath wrote a blog on Setting up an Android Emulator for testing Intune features that focused on how to get it setup on a Windows platform. In this blog we will look at setting it up on Apple macOS.

Installation

Download the Android Studio software from Android’s developer site by clicking onthe Download Android Studio button:

https://developer.android.com/studio

Accept the terms and conditions to continue with the download

Once the download completes mount the image and and drag the Android Studio icon to the Applications icon to start the installation.

Create the Android Virtual Device

Once Android Studio is finished copying you can open Android Studio by clicking on the Launchpad and clicking on the Android Studio icon.

You will need to confirm that you would like to open Android Studio as it was downloaded from the internet and not installed from the Apple Store. You can do so by clicking Open

Once Android Studio is open you can click on the Configure dropdown and select AVD Manager

Click on + Create Virtual Device…

Select the Hardware for your virtual device:

  1. Select Phone
  2. Ensure Play Store option is available
  3. Select desired screen size
  4. Select Next
  1. Ensure the target Operating System selected includes Google Play. 

TIP – If you intend to test Conditional Access and Compliance Settings feature based on an older operating system version then select Android 9.0 (Google Play), alternatively you can select the Android 10.0 (Google Play) operating system.

2. Select Download to begin download of image file

TIP – If you the Download option is not available it indicates that the particular System Image has already been downloaded and you can just select the image for use

The download will start

Once the download is complete select the System Image and click Next

Now you can configure your AVD by providing it a name and selecting the orientation etc.
Click Finish to finalise the creation of your Android Virtual Device

Configure AVD internet connection

Configure the AVD Proxy Settings

  1. Click
  2. Select Settings
  3. Select Proxy. Configure as required for your environment

Enabe Wifi for internet connectivity

  1. Enable AndroidWifi for internet connection
  2. Disable Mobile Data if you have an onboard SIM on your host Windows 10 machine to avoid any additional charges
Machine generated alternative text:
3:30 
An Wifi 
Very Fast 
Battery Saver 
Android 
not disturb 
Mobile data 
100% 
A ate 
Airplane nwzie

Install the Company Portal

Select Play Store

Machine generated alternative text:
4) 
Tuesday, sep 22
  1. Search for Company Portal in Play Store
  2. Select Install
Machine generated alternative text:
company portal 
Intune Company Portal 
G 
Waiting for 
1 
10M* 
reviews 
16 MB 
Rated tor O 
4) 
o 
Install company apps & manage dev'CeS enrolled 10 
Microsoft Intune 
You might also like 
ft Teams 
55 MB 
Microsoft Outlook 
Organize Your Emu 
65 MB 
Microsoft 
V' ew. Edit. 
66 MB

Sign in to Company Portal

Machine generated alternative text:
2:43 @ 
Company Portal 
Get access to company resources and 
keep them secure. 
SIGN IN 
Microsoft privacy & Cookies
Machine generated alternative text:
244 @ 
Company Portal 
Microsoft Intune 
Microsoft 
Sign in 
Email or phone 
Caft access your account? 
Sign in from another device 
o 
Next

Example of AVD with applications deployed

Machine generated alternative text:
Adobe Ac 
PERSONAL 
Company 
SAP Conc. 
Contacts 
OneNo'e 
WORK 
Excel 
Outlook 
Files 
Play Store 
'O 
o 
Work profile 
Managed by your organization

Leave a Reply