Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

“adb” can’t be opened because Apple cannot check it for malicious software

Tags:

android

macos

I faced the following problem: when I try to make a RN project as in tutorial, I have the next window: “adb” can’t be opened because Apple cannot check it for malicious software.

Yes, I know that when I have such window I should open the app in finder, click the right button of the mouse and then click "open".
But in this situation I cannot do it, as there's no way to open adb in finder, so, how can I solve this problem?

like image 786
Sergei Mikhailovskii Avatar asked Jul 31 '19 11:07

Sergei Mikhailovskii


People also ask

How do you override a malware warning on a Mac?

If you're certain that an app you want to install is from a trustworthy source and hasn't been tampered with, you can temporarily override your Mac security settings to open it. Go to Security & Privacy. Click the Open Anyway button in the General pane to confirm your intent to open or install the app.


Video Answer


2 Answers

The other answer didn't work for me.

I searched for adb like this

which adb

Then terminal told me the path to the adb executable, so I opened that location

open /usr/local/bin

Then right-clicked on it, and chose open, and then I did have the option to open the app instead of just move to trash.

like image 108
Jonny Avatar answered Nov 16 '22 03:11

Jonny


Open "System Preferences" -> "Security & Privacy" -> "General".

Under "Allow apps downloaded from:" click "Allow Anyway" on adb, then try again.

like image 26
Tyr Avatar answered Nov 16 '22 02:11

Tyr