python代码连接模拟器
import os
connectToCliect = "adb connect 127.0.0.1:7555" # mumu模拟器端口
isConnect = os.system(connectToCliect) == 0
print("连接状态",isConnect)
isConnect = os.system("adb devices") == 0
print("设备状态",isConnect)
python代码连接模拟器
import os
connectToCliect = "adb connect 127.0.0.1:7555" # mumu模拟器端口
isConnect = os.system(connectToCliect) == 0
print("连接状态",isConnect)
isConnect = os.system("adb devices") == 0
print("设备状态",isConnect)