Sanmill/tests/stop-monkey.sh

5 lines
140 B
Bash

#!/bin/bash
cd ~/AppData/Local/Android/Sdk/platform-tools || exit
./adb shell kill $(./adb shell ps | grep monkey | xargs | cut -d' ' -f2)