Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
106.33k stars 10.3k forks source link

mac install error #2566

Open rehack opened 2 years ago

rehack commented 2 years ago

Environment

Describe the bug A clear and concise description of what the bug is.

On errors, please provide the output of the console (and adb logcat if relevant).

==> Downloading from https://pkg-containers.githubusercontent.com/gh
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/lzo/manifests/2.10
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/lzo/blobs/sha256:24
==> Downloading from https://pkg-containers.githubusercontent.com/gh
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pixman/manifests/0.
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pixman/blobs/sha256
==> Downloading from https://pkg-containers.githubusercontent.com/gh
######################################################################## 100.0%
==> Downloading https://gitlab.freedesktop.org/cairo/cairo/-/commit/
######################################################################## 100.0%
==> Downloading https://cairographics.org/releases/cairo-1.16.0.tar.
######################################################################## 100.0%
==> Downloading https://ftp.gnu.org/gnu/bison/bison-3.7.6.tar.xz
######################################################################## 100.0%
==> Downloading https://gitlab.gnome.org/tschoonj/gobject-introspect
######################################################################## 100.0%
==> Cloning https://gist.github.com/7a0023656ccfe309337a.git
Cloning into '/Users/rehack/Library/Caches/Homebrew/gobject-introspection--tutorial--git'...
fatal: unable to access 'https://gist.github.com/7a0023656ccfe309337a.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to gist.github.com:443 
Error: Failed to download resource "gobject-introspection--tutorial"
Failure while executing; `git clone https://gist.github.com/7a0023656ccfe309337a.git /Users/rehack/Library/Caches/Homebrew/gobject-introspection--tutorial--git` exited with 128. Here's the output:
Cloning into '/Users/rehack/Library/Caches/Homebrew/gobject-introspection--tutorial--git'...
fatal: unable to access 'https://gist.github.com/7a0023656ccfe309337a.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to gist.github.com:443 
Hamidah95 commented 2 years ago

Hello @rehack I also encounter the same problem when trying to install using brew. The following method works for me

  1. Install the package from MacPorts based on your mac operating system
  2. Run the following command (this will take quite a bit of time) sudo port install scrcpy
isanwenyu commented 1 year ago

I have encountered the same problem.