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!





      Topics: Pages | 2015 | Tutorials | Questions | Python