(emulator port adb shell)
根据emulator的端口进入adb设备的命令
今天早上写一个socket的测试程序,需要开两个模拟器,一个作服务器,一个作客户端。
我设置两个模拟器的ip地址和dns,需要进入两个模拟器的adb shell,找了一会发现网上很多命令都不对,进不去。
后来试出来了是用这个命令:
adb -s emulator-5554 shell
adb -s emulator-5556 shell
本文详细介绍了如何使用adb-semulator命令通过端口号进入模拟器的adb shell,以便在两个模拟器中进行socket测试。通过设置模拟器的ip地址和dns,作者分享了成功进入模拟器adb shell的方法。
(emulator port adb shell)
根据emulator的端口进入adb设备的命令
今天早上写一个socket的测试程序,需要开两个模拟器,一个作服务器,一个作客户端。
我设置两个模拟器的ip地址和dns,需要进入两个模拟器的adb shell,找了一会发现网上很多命令都不对,进不去。
后来试出来了是用这个命令:
adb -s emulator-5554 shell
adb -s emulator-5556 shell
被折叠的 条评论
为什么被折叠?