1、要进入夜神模拟器的bin目录
2、连接夜神模拟器
3、执行命令
cd %~dp0 nox_adb.exe connect 127.0.0.1:62001 ping -n 1 127.0.0.1>nul set num=0 :ok set /a num+=1 adb shell am start -n cn.wondershare.wsapp/cn.wondershare.wsapp.MainActivity ping -n 10 127.0.0.1>nul adb shell am force-stop cn.wondershare.wsapp ping -n 3 127.0.0.1>nul if "%num%"=="100" pause goto ok
原文地址:https://www.cnblogs.com/ai594ai/p/10757293.html
时间: 2024-10-08 07:37:07