Scrcpy: not working with OS Catalina

Created on 21 Oct 2019  Â·  20Comments  Â·  Source: Genymobile/scrcpy

Upgraded to Catalina now on launching the app OS says --''adb'' cannot be opened because the developer cannot be verified. macOS cannto verify that this app is free from malware--
I have the latest version presumably as I downloaded 30 Aug '19.

macos

Most helpful comment

I managed to fix this: cd /usr/local/Caskroom/android-platform-tools/29.0.5/platform-tools && open .. Then right-click on adb, press Open and this time, you can click Open instead of Move to Bin

All 20 comments

Did you install it from homebrew?

Yes it was all working fine with Mojave till I upgraded to Catalina

Same issue..I installed by downloading directly from google, and modifying my PATH variable.
Downloaded fresh after got the initial error. I'm about to try chmod to see if that will work. Anyone found a fix yet?

I managed to fix this: cd /usr/local/Caskroom/android-platform-tools/29.0.5/platform-tools && open .. Then right-click on adb, press Open and this time, you can click Open instead of Move to Bin

@djallberto - doesn't work - I'm not able to right click on adb when launching the app. I only have "move to bin" or "cancel" options. I don't understand your file path. If I put that file path into terminal it does not recognise it. Could you / anyone help on this ?

@amaddocks probably it depends on how you installed adb. Did you use brew? Try finding where adb is installed on your machine and right click on it

Thanks. I installed the latest version and reinstalled ADB but now I get this message. Any ideas / help is much appreciated:

2019-12-01 14:59:09.872 scrcpy[96226:232670] INFO: scrcpy 1.10 https://github.com/Genymobile/scrcpy
adb: error: failed to get feature set: more than one device/emulator
2019-12-01 14:59:09.880 scrcpy[96226:232670] ERROR: "adb push" returned with value 1
Admins-Mac-mini:~ admin$

There are probably several devices listed in adb devices.

You can run scrcpy for a specific one with:

scrcpy -s SERIAL

I installed the latest version

The latest is currently 1.11, not 1.10 (but independant of your problem).

Thanks - how do I remove one of the devices (this would be the simpler way
as I won't be using the first device I installed)

On Sun, 1 Dec 2019 at 15:07, Romain Vimont notifications@github.com wrote:

There are probably several devices listed in adb devices.

You can run scrcpy for a specific one with:

scrcpy -s SERIAL

I installed the latest version

The latest is currently 1.11, not 1.10 (but independant of your problem).

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Genymobile/scrcpy/issues/876?email_source=notifications&email_token=ANBFULB2J7QLSKGMSE2RN33QWPHKNA5CNFSM4JC3HSA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFRLYWA#issuecomment-560118872,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANBFULFVMBUVCKEF6H673G3QWPHKNANCNFSM4JC3HSAQ
.

ok I just unplugged the other device and yay it works again !! Thanks for all your help !!

for me worked if make an upgrade to adb

For future people having the same issue.
brew cask upgrade android-platform-tools did the trick for me.

for me worked if make an upgrade to adb

How do you do that?

For anyone wondering how to solve this, right after you run the command, without closing the "Move to bin or cancel" dialog box, open System Preferences -> Security & Privacy -> General ->
in Allow apps downloaded from section hit Open anyway. Run the command again, and hit Open in the dialog box.

for me i had to go into security and privacy and give full disk access to android studio and adb

I managed to fix this: cd /usr/local/Caskroom/android-platform-tools/29.0.5/platform-tools && open .. Then right-click on adb, press Open and this time, you can click Open instead of Move to Bin

thanks it works

brew cask upgrade android-platform-tools

This worked for me. Thanks!

I have installed androidsdk and it is in the path /usr/local/Caskroom/android-sdk/6666796/.

Inside the platform-tools I have found adb. /usr/local/Caskroom/android-sdk/6666796/platform-tools.

How can i open the emulator.

“emulator” cannot be opened because the developer cannot be verified.
macOS cannot verify that this app is free from malware.
Screenshot 2020-07-29 at 10 42 23 AM

@nihp Did you find any solutions for the "emulator" issue? I have the same error on Catalina.

I have removed and again installed android studio and created new emulator.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

behzadpooldar picture behzadpooldar  Â·  4Comments

mttmllns picture mttmllns  Â·  3Comments

SamuelBlickle picture SamuelBlickle  Â·  3Comments

sennight picture sennight  Â·  3Comments

targor picture targor  Â·  3Comments