linux adb 屏幕投射,scrcpy: scrcpy 就是通过 adb 调试的方式来将手机屏幕投到电脑上,并可以通过电脑控制您的 Android 设备...

scrcpy是一个轻量级的应用,它可以在GNU/Linux、Windows和macOS上通过adb将Android设备的屏幕实时投射到电脑上,并支持通过电脑进行设备控制。scrcpy不需要设备root权限,只需开启adb调试。在Linux中,可以使用apt安装,而在Windows和macOS上也有相应的预编译包。此外,scrcpy提供了多种配置选项,如调整分辨率、比特率、帧率等,以适应不同需求。
摘要由CSDN通过智能技术生成

scrcpy (v1.12.1)

This application provides display and control of Android devices connected on

USB (or over TCP/IP). It does not require any root access.

It works on GNU/Linux, Windows and macOS.

1feeed03d731d8e11222d2ca4c28c38b.png

It focuses on:

lightness (native, displays only the device screen)

performance (30~60fps)

quality (1920×1080 or above)

low latency (35~70ms)

low startup time (~1 second to display the first image)

non-intrusiveness (nothing is left installed on the device)

Requirements

The Android device requires at least API 21 (Android 5.0).

Make sure you enabled adb debugging on your device(s).

On some devices, you also need to enable an additional option to

control it using keyboard and mouse.

Get the app

Linux

In Debian (testing and sid for now):

apt install scrcpy

A Snap package is available: scrcpy.

For Arch Linux, an AUR package is available: scrcpy.

For Gentoo, an Ebuild is available: scrcpy/.

You could also build the app manually (don't worry, it's not that

hard).

Windows

For Windows, for simplicity, prebuilt archives with all the dependencies

(including adb) are available:

scrcpy-win32-v1.12.1.zip

(SHA-256: 0f4b3b063536b50a2df05dc42c760f9cc0093a9a26dbdf02d8232c74dab43480)

scrcpy-win64-v1.12.1.zip

(SHA-256: 57d34b6d16cfd9fe169bc37c4df58ebd256d05c1ea3febc63d9cb0a027ab47c9)

It is also available in Chocolatey:

choco installscrcpy

You need adb, accessible from your PATH. If you don't have it yet:

choco installadb

macOS

The application is available in Homebrew. Just install it:

brew installscrcpy

You need adb, accessible from your PATH. If you don't have it yet:

brew cask installandroid-platform-tools

Run

Plug an Android device, and execute:

scrcpy

It accepts command-line arguments, listed by:

scrcpy --help

Features

Capture configuration

Reduce size

Sometimes, it is useful to mirror an Android device at a lower definition to

increase performance.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值