目录
- Intro
- 在linux上连接Android系统
- clone project
- when a new release is out,update the repo and reinstall
- uninstall
- remark
- 防走丢
Intro
OS:kali2023
Mem: 4G
CPU: 4U
在linux上连接Android系统
sudo apt update
sudo apt install -y ffmpeg libsdl2-2.0-0 adb \
wget git pkg-config meson ninja-build libsdl2-dev \
libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev \
libswresample-dev libusb-1.0-0 libusb-1.0-0-dev \
android-sdk-platform-tools android-libsparse fastboot
# start adb service
sudo adb start-server
clone project
git clone https://github.com/Genymobile/scrcpy
cd scrcpy && ./install_release.sh
# Connect to Android via scrcpy
scrcpy
Notice: The mobile phone is connected to linux through a data cable
when a new release is out,update the repo and reinstall
git pull && ./install_release.sh
before connecting you android you need to enable developer options and usb debugging on you phone...
uninstall
sudo njnja -Cbuild-auto uninstall
remark
1、手机上的"USB调试"功能必须打开
2、adb必须检测到您的设备,scrcpy才能工作(即adb devices -l 必须列出您的设备)
3、列出设备时出现下面的情况则需要在手机上点确认来验证
$ adb devices -l
List of devices attached
T12109280xxxxxx unauthorized
防走丢
QQ群1:905201396
QQ群2:756805267
QQ群3:912567610
标签:scrcpy,kali,sudo,dev,adb,connect,release,Android
From: https://www.cnblogs.com/smlile-you-me/p/18156457