如何通过ADB为无头仿真器启用USB调试

问题描述 投票:0回答:1

我在通过adb远程连接到服务器的服务器上运行了一些无头模拟器,但从adb设备中看到它们是unauthorized

androidsim:5561 unauthorized
androidsim:5559 unauthorized
androidsim:5557 unauthorized
androidsim:5555 unauthorized

所以我拍摄了无头设备的屏幕快照,看到需要启用USB调试,但是如何在无头avd上启用USB调试?

enter image description here

android android-emulator adb avd
1个回答
0
投票

不知道如何禁用,但是能够通过]确认对话框>

adb -s emulator-5554 shell input tap 1081 1420
adb -s emulator-5556 shell input tap 1081 1420
adb -s emulator-5558 shell input tap 1081 1420
adb -s emulator-5560 shell input tap 1081 1420
© www.soinside.com 2019 - 2024. All rights reserved.