Android Emulator cannot be opened because the developer cannot be verified. [M1 Mac]


I recently downloaded the Android Emulator that could run natively on an M1 Silicon Mac computer, when I installed the DMG file and ran it for the first time, I got the below error,

⚠️

“Android Emulator” cannot be opened because 
the developer cannot be verified.

macOS cannot verify that this app is free from malware.

Safari downloaded this file today at 2:14 PM.

Move to Thrash   Cancel

I downloaded the dmg file from a know Github repo - Well this is common behavior on Apple macOS, where when you download an application setup from the internet, it blocks it for security reasons. now, how can I get pass through this warning and run the emulator!

Steps to fix this warning:
  1. Click on Cancel on the message,
  2. Now go to Apple Menu: System Preferences...
  3. Click on Security & Privacy,
  4. Go to Genrals Tab,
  5. Here you should see "Allow apps downloaded from: "Android Emulator" was blocked from use. because it is not from an identified developer.
  6. Click on the lock to Autenticate and make changes:
  7. Click on open Anyways
  8. You will again see a warning: Just click on Open button
  9. macOS cannot verify the developer of “Android Emulator”. 
    Are you sure you want to open it?
    
    By opening this app, you will be overriding system security 
    which can expose your computer and personal information
     to malware that may harm your Mac or compromise your
     privacy.
    
    Safari downloaded this file today at 2:14 PM. 
    
    Open
    Move to Trash
    Cancel

You would see that the emulator window opens up, you will see a message to how to connect this emulator with Android Studio,

Could not automatically detect an ADB binary. Some emulator functionality will not work until a custom path to ADB is added. This can be done in Extended Controls (...) > Settings > General tab > 'Use detected ADB location'

Android Emulator cannot be opened error M1 mac
Android Emulator cannot be opened error M1 mac


Have Questions? Post them here!
Advertisements
Try Out Code2care Dev Tools:

Advertisements



Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Advertisements


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR - https://donate.unhcr.org/in/en-in/ukraine-emergency