Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/197.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 如何通过ADB为headless emulator启用USB调试_Android_Android Emulator_Adb_Avd - Fatal编程技术网

Android 如何通过ADB为headless emulator启用USB调试

Android 如何通过ADB为headless emulator启用USB调试,android,android-emulator,adb,avd,Android,Android Emulator,Adb,Avd,我有一些无头模拟器运行在通过adb远程连接的服务器上,但我从adb设备上看到它们是未经授权的 androidsim:5561 unauthorized androidsim:5559 unauthorized androidsim:5557 unauthorized androidsim:5555 unauthorized 所以我拍摄了无头设备的屏幕截图,看到需要启用USB调试,但如何在无头avd上启用USB调试 不知道如何禁用,但能够与确认对话框 adb -s emulator-5554 s

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

androidsim:5561 unauthorized
androidsim:5559 unauthorized
androidsim:5557 unauthorized
androidsim:5555 unauthorized
所以我拍摄了无头设备的屏幕截图,看到需要启用USB调试,但如何在无头avd上启用USB调试


不知道如何禁用,但能够与确认对话框

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

不知道如何禁用,但能够与确认对话

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

你不能通过ADB启用ADB显然你不能通过ADB启用ADB显然他需要使用ADB,他正在尝试启用…他需要使用ADB,他正在尝试启用。。。