M1 Macbook Android Emulator

March 14, 2021☕️15 min read🔖#tools

Updated on: August 28, 2021

The Internet giant Google has an emulator presented, which makes running Android applications on the latest Mac generation consisting of Mac Mini, Macbook Pro 13 inch Macbook Air and possible. The decisive factor here is Apple’s new System-on-a-Chip (SoC) M1 based on ARM. In contrast, the emulator will not work on Apple devices that are still. We've made a rough initial preview of the emulator running on Apple Silicon available here. It also contains an AOSP system image build for ARM64. This should enable developers to test/run ARM64 apps via ARM64 hardware virtualization.

Note: This article was updated in August 2021. The Macbook Pro M1 I was using crashed and stopped working without any reason on August 25, 2021. In just seven months of use.

It took time to get it repaired. That forced me to buy another laptop. While setting up the new laptop, I thought it is an excellent time to update this post.


lol @apple started shipping used/damaged products to India by boxing them as NEW?
cc: @AppleSupportpic.twitter.com/hmgZwiS5Kl

— Aman Mittal ⚛️☕🖖🥑 (@amanhimself) August 26, 2021

I recently upgraded from Macbook Air 2017 to Macbook Pro with an M1 chip. My four-year-old Macbook Air was giving up. The performance to run heavy tasks like using the iOS simulator when developing and working on React Native apps was declining. I had long given up using the Android emulator and used an actual Android device for testing. December 2020 was the time I decided its time to upgrade.

I had a long internal discussion with myself for almost a month about whether I should upgrade to M1 or stick with Intel-based chips and spend them bucks. Don't get me wrong here, M1 is not cheap either as I did go for a RAM upgrade to max limits, which is currently 16GB in the base model.

After going through some online reviews and research, the kind of performance I was expecting has been worth it so far (it is fast, no doubt). I received it two weeks back when writing this post, and since then, I have installed all the necessary tools and utilities that help me work on Web development and React Native apps.

My local environment currently includes:

  • Homebrew (now supported Apple Silicon machines since 2.6.0)
  • Git
  • Node.js
  • npm
  • Zsh
  • Oh My Zsh
  • iTerm
  • Xcode
  • yarn
  • VSCode
  • Rosetta 2

OS apps:

  • Brave
  • Android Studio
  • Insomnia as REST API client
  • Xcode
  • Slack or Discord (for work and community)
  • There (to track team mate's timezone)
  • LICEcap (for gifs)
  • Zoom (for work)
  • GitHub Desktop App
  • Cleanshot (for screenshots)
  • Google Chrome
    • set to default
      • First things to do:
        • Log in to: Gmail, Twitter, GitHub, Outlook
        • Developer mode on
      • Extensions:
        • Grammarly
        • Toby to organize tabs

System Settings:

  • Disable Ask Siri
  • Disable Spotlight search except Applications, Calculator, Definition, and System Preferences.
  • Trackpad:
    • Fix direction: Scroll & Zoom > Natural off
    • Right click: Point & Click > Secondary Click
    • Disable dictionary lookup: Point & Click > Look up & data detectors off
    • More gestures > Swipe between pages off & App Exposé off
  • Finder settings:
    • Preferences > Advanced > Show filename extensions
    • Enable show path bar: View > Show Path Bar
  • Dock:
    • Turn auto hiding on

Copy dotfiles

iTerm

My favorite terminal app that I have been using for years is iTerm. I am currently using two versions of iTerm on my setup. One with Rosetta 2 enabled and the default one. This way, I can only use the Rosetta 2 emulator when required. There are no performance issues I have found with using iTerm with Rosetta 2 for ARM-based applications.

If you'd like a similar setup, go to the Applications folder in your Macbook and duplicate the iTerm application.

You can rename the duplicated iTerm app. I have renamed it to iTerm_rosetta to differentiate between the two. Right-click the duplicated app and click Get Info. In the General, check the box where it says Open using Rosetta.

Now, if you open the second terminal, it will be using Rosetta 2 emulator by default.

Other iTerm profile settings that I use:

Recently I started using Jetbrains Mono font.

For the overall looks and appearance, I use Dracula Pro Color Presets created by Zen Rocha.

And my last favorite thing is to split the working directory into two more different tabs using Command + D for horizontal panes.

Make sure to have the following setting configured from

General > Working Directory > select Advanced Configuration > click button Edit... > select Reuse previous session's directory under Working Directory for New Split Panes.

For terminal prompt, I use Spaceship ZSH.

Homebrew

On December 1, 2020, the Homebrew team announced on their website about the version release 2.6.0. The most significant changes among others they listed were the support for macOS Big Sur, using brew commands instead of brew cask and beginning to support macOS M1 and Apple Silicon or ARM-based chips.

Using the terminal, you can install the Homebrew by executing the default command:

brew installs:

  • node/npm
  • scrcpy (control Android devices connect via USB on mac)
  • adoptopenjdk8 (required for React Native)
  • Karabiner-Elements (remapping function keys)
  • watchman (required for React Native)

What is Karabiner-Elements?

When I bought Macbook Air M1, it had function keys (that got me excited), but I don't understand why Apple decided to replace function keys that would allow me to control Keyboard Brightness?! And moreover, replace it with 'Do Not Disturb'.

Why? That got me confused 🤷

I found this tool called karabiner Elements that can be installed as a brew formula:

Here are the key mappings I am using now:

Git

I did install Git using brew command:

To authenticate GitHub to be used from the terminal environment, I'd recommend you to check out the official document on creating and accessing personal tokens.

Xcode

After installing Git, for me, the next step is to install Xcode app from Apple's App Store.

Then, install 'command line tools'. It is required by many of the formulae in Homebrew.

After installing it, make sure to open it for the first time, from the menu bar, open Xcode > Preferences > Locations and make sure that Command Line Tools point towards the current Xcode app.

ZSH and Oh My Zsh

ZSH is the default shell in macOS Big Sur. However, I like to use Oh My Zsh to manage the ZSH configuration, plugins, and a theme to prettify the terminal.

To install, run the command below:

After installation, make sure that the file .zshrc is exporting the below path at the top:

The first I like to do after setting up the bare minimum ZSH configuration is to install a plugin called zsh-syntax-highlighting. It provides syntax highlighting for the ZSH shell. Execute the series below commands in the terminal window:

This is my final ZSH configuration in the file ~/.zshrc file:

After installing the syntax highlight plugin, it starts to recognize the commands:

VSCode

VSCode and VS Code Insiders are currently supported on ARM chips (as of March 13, 2021). Download the installer for Insiders edition from here and for VSCode here.

I am still using the same VSCode configuration from my previous setup:

Themes

I usually like to switch between a dark and a light theme.

  • For the dark theme where I spent most of my time, I am was previously using morgan.codes-theme, but now I am using fairyFloss.
    • Other themes I switch between:
      • Quiet Light
  • For file icons, I love Material-Icon-Theme.
  • For terminal prompt, I use Spaceship ZSH.
  • Font: Jetbrains Mono font.

Extensions

I use VSCode editor for both writing code and writing blog posts. Thus, the list of extensions below is the combination of extensions that fulfills both of my purposes.

Global NPM Packages I use

  • gatsby-cli To build and test out my personal blog built with Gatsby.
  • npm-check to check for outdated, incorrect, and unused dependencies.
  • git-watch-log to watch a git repo and recent changes.

For React Native Development

Studio
  • install node
  • install Watchman to watch changes in the filesystem using the command: brew install watchman.
  • install following gems:
  • install Java Development Kit using the command: brew install --cask adoptopenjdk/openjdk/adoptopenjdk8.
  • Currently, I am using Arctic Fox Canary that supports Apple's based machines for Android Studio.
  • Then install Android SDK (I do not prefer AVD and use an actual device for testing)
  • scrcpy to display and control Android devices connect via USB on Mac.

M1 Macbook Pro Android Emulator


⚛️ For more instructions on how to set up a development environment for React Native, please follow the official documentation here.

Rosetta 2

Update: I am not using the Rosetta environment to install anything on the secondary machine since August 2021. That is the reason I've mentioned it at the end of the post.

Rosetta 2 is the lifeline that allows you to run apps designed for Intel-based chips that use x86 architecture on ARM-based chips (in this case M1). This solution is provided by Apple in the form of an emulator and doesn't come pre-installed. You have to install it manually. Fire up the Terminal application that comes pre-installed on the Big Sur and let your first command to execute be:

If you decide not to put the flag --agree-to-license, you will be prompted by Apple's interactive install, and you will have to agree to their terms and license conditions to use it.

Conclusion

That’s the setup I now use for my JavaScript, Node.js, React and React Native. I think it's a good machine. Hopefully, M1 is just the beginning of a new era of powerful computers for daily work use 🤞

🤔 The only thing left for me is to find a way to transfer all laptop swag/stickers from my Macbook Air 2017 to Pro. I miss having them on this one.

isapplesiliconready.com is another helpful link I found to check what is compatible to work on Apple Silicon chips natively or using Rosetta or not optimized at all.

We’re all well aware about the capabilities of the Android platform. There are smartphones today that can compete with a wide range of technologies. However, what makes those devices really tick is the core Android platform. But what if you own an iPhone and still want to try out Android phone ? Well, you no longer have to purchase an expensive (or inexpensive) phone to find out. There are best Android emulator for Mac today that can help you run and bring full compatibility with all the features of Android (without owning one), while some even update their emulators with the latest version of Android.

With these Android Emulator For Mac, you can run apps for android, play games, and do pretty much anything like the Android device can (barring phone calls, obviously). Those are just the three main uses of a built in emulator. So we’re going to talk a bit about some of the most popular emulators out there. While some user friendly emulators are present here, we’re also going to talk about developer emulators that can help test out or run android apps and android games.

Instead of giving your only 5 best emulators, we are citing 7 on this post for cross platform. So let’s get to the best Android apps and games emulator for Mac.

Best Android Emulator For Mac

1. ARChon

ARChon is a little different than most of our best Android emulators for PC or Mac in that this one is actually a Google Chrome extension. That’s right — no installing a program on your machine and wasting precious storage space! It is comparable to a virtual machine, virtual device or virtual devices.

Of course, it’s certainly not nearly as seamless as a native program, as it can take a bit of fiddling to get apps and mobile games to work. To use ARChon, once you have it setup in the browser, you’ll have to push or drag APKs to load the apps within the browser. It’s a nice, free program for those that want to be able to use an Android emulator wherever there is Google Chrome.

Not sure where to find APKs for ARChon? You can find many of them for free over at almost any Android APK repository. Some of our most trusted and favorites are APK Mirror or APK Pure.

Download it now:here

2. VirtualBox

Believe it or not, you can actually use VirtualBox to create your own Android emulator for Mac. Download VirtualBox on your Mac machine, and then set it up with the necessary ISO image from Android-x86.org. You’ll be able to create an efficient emulator that allows you to play almost any game or app within Mac.

As an added bonus, VirtualBox gives you a lot of control over how much resources and hardware you devote to it. That allows you to keep your overall machine running smoothly while still running your Android operating system emulator in the background. VirtualBox is free to use; however, it is recommended that you have at least 8GB of RAM on your machine if you want to run this one.

Download it now:here

M1 Macbook Android Emulator Free

3. KO Player

KO Player is a relatively new entrant in the emulators game and is one of the newer Android emulators on the list. It markets itself as a mid-market emulator that can run apps and multiple games comfortably. While the focus is mainly on games, this is a full blown Android emulator, so it can run pretty much any app on the Play Store as long as it is compatible with the Android version. The company’s website doesn’t mention which version of Android it’s running, but talks about a few popular apps and games that are compatible with KO Player (WhatsApp, Clash of Clans etc).

It also comes with features like gameplay recording, keyboard gameplay support, and comes with the Google Play Store pre-installed. It is said that about 99% of the Play Store apps are compatible with KO Player. The best part here is that KO Player is a free download, and can be snatched up directly from their official website. As with any free offering, expect some minor issues during usage. However, the app developers are pretty keen on offering a fresh and refined experience through bug fixes.

Download it now:here

4. Nox Player

This is yet another decent alternative for gamers. It comes with the ability to run android games, support joysticks and controllers (assuming your Mac supports actual hardware controller support). There is zero lag during gameplay or general usage, so you can be assured of a smooth performance. Among the list of features here is the ability to keep multiple accounts on Nox, which is handy if you want to use it on the family computer. You will find that the emulator is compatible with pretty much every popular game and app right now.

Further, the emulator is compatible with x86 as well as AMD processors, thus bringing a variety of devices under its compatibility list and access to most Android games. Like with KO Player, Nox allows users to record their screen and share it on social media as they please. It’s one gaming oriented emulator can be very handy for graphics heavy games available as well as strategy games like Clash of Clans and Fortnite (which will reach Android emulation shortly).

More importantly, it’s light on your computer, much like helping it run smoothly and devoid of lag. This is also a free offering with no hidden caveats. Nox also offers the keyboard mapping feature, so the user can play more efficiently with mouse and keyboard. If you are one of those mobile gamers, this one is for you as it is considered as the Android emulator for gamers.

Ld Player

Download it now:here

5. Bluestacks

Bluestacks is probably the most popular Android emulator currently available in the market, and with good reason. This app has served Windows and Mac OS users for a few years now, giving them a viable way using Android on their desktop. This isn’t an ideal setup for developers, though, as Bluestacks is marketed for the masses. This means there will be some lag when you operate, although it’s rapidly diminishing with each update. The recent version of Bluestacks was updated to Android Nougat, making it the freshest Android emulator out there. It’s too soon to tell if and when Bluestacks will update its offering to Android 8.0 or even 9.0 as the latest Android version, so it will have active updates nearly every month.

As it stands, if gaming and social media is your priority, Bluestacks is an excellent emulator to have as it aims itself at gamers. GameLoop is an Android emulator that is used as a gaming platform. It can run all the heavy games and even offer key mapping support, which has become a prerequisite with modern day Android emulators and can bring the better or for worse Android app and game on your Mac. With the added smart keymapping along with a customizable game support, this android emulator is mostly going to boasts a gamer experience.

Bluestacks official emulator is entirely free to download, but will require a subscription per month for continued usage.

Download it now: here

6. Genymotion

M1 Macbook Android Emulator Windows 10

One of the newer emulators if you want to run Android on your Mac is Genymotion. We are now coming to the dev-friendly emulators out there. You won’t find all the bells and whistles that you probably see with Bluestacks, Genymotion lets you test out how an Android device and version would work with a particular app or supports Android operating systems. For example, you can have a Nexus 4 running Android 5.0 or an even older device running that version like Android 4.2 Jelly Bean Kit Kat(assuming it’s compatible).

Genymotion can let you run an emulator directly on your PC or on the cloud, which very few emulators out there can do. This means you can share the functionings of your app with the rest of the world without them having to download a dedicated emulator.

Android Emulator For Apple M1

This is a game changer for developers who like to get opinions on their projects from the masses or close associates. Naturally, the android emulator for PC option is also present, so you’re free to use it the old fashioned way. This isn’t a free version offering for personal use, though, so be prepared to subscribe to one of Genymotion’s plans to reap the benefits of all the features mentioned above.

Download it now: here

7. Android Studio

Google’s very own Android Studio emulator also comes with an emulator you can download, although it’s significantly less flashy than a few commercial use emulators and actually run android natively. However, it is updated frequently with new features. This is designed specifically for budding and experienced Android developers to test out their apps before it is pushed to the Play Store. It works with both PCs and Macs, so neither platform is left out. It has all the tools to build and design your apps, while the emulator feature allows you to glance through your creation.

Given the feature set, it is definitely not recommended for amateurs, as setting it up could take some time. Android Studio is a free download on both major platforms, and is a 880MB download for Macs. Though updating those services may take time, watch out for more active development in years with this productivity emulator.

Download it now: here

While these emulators offer a great experience for your Mac as it runs android apps/games like Call of Duty Mobile and PUBG mobile, this may also create a negative effect on your device as the level use might increase, especially with the battery life. Running multiple emulators may affect your device operation as it depends on the operating systems and hardware.

Always test your apps or test apps on the emulator you install once you’ve downloaded them and see the emulators ability to run smoothly and see if it is usable as a productivity tool for PC and Mac. There are still best android emulators that you can discover around the web that can run an Android app or game. The installation process may take longer than expected, depending on various factors such as internet speed and the likes.

If you find another Android emulator or free android emulator that is actually a fairly decent, actually works pretty well and that suits your taste, feel free to use it as long as it runs well or work well, gets the work done or the emulators run properly. You can use emulators as a productivity tool for video loading or loading video. Just find one that supports this kind of function. You might be able to get the price free for personal use just like PrimeOS Remix OS player and other Android Studio S emulator or ldplayer android studio.