Markdown Converter
Agent skill for markdown-converter
Stop the Android app running on connected device. Cleanly terminates the app using force-stop. Use when stopping the app for debugging, testing, or cleanup.
Sign in to like and favorite skills
Stops the Android app running on a connected device by using
adb shell am force-stop. This cleanly terminates all app processes, clearing memory while preserving app data.
Invoke this skill when the user:
brew install android-platform-tools)Navigate to the Android app directory:
cd path/to/android/app
Run the stop script:
./stop-app.sh
The script will:
adb shell am force-stop to terminate the appInform the user:
š Stopping NoobTest on device... ā App stopped
The script uses:
adb shell am force-stop com.miso.noobtestThis Android framework command:
force-stop (recommended):
kill (not recommended):
Before deploying new version:
./stop-app.sh ./install-device.sh
Pairing with restart:
./stop-app.sh # Make configuration changes ./restart-app.sh
Clean state testing:
./stop-app.sh # Clear app data manually if needed adb shell pm clear com.miso.noobtest # Then install fresh
"no devices found":
adb devicesadb kill-server && adb start-server"adb: command not found":
brew install android-platform-toolsApp still running after force-stop:
adb shell pidof com.miso.noobtestadb shell pm clear com.miso.noobtest (nukes app data too)This script is safe to call repeatedly:
The script is configured for the specific app's package name (e.g.,
com.miso.noobtest for Firefly/NoobTest). Package name is defined in build.gradle.kts under applicationId.
force-stop does NOT clear:
To fully clear app state, use:
adb shell pm clear com.miso.noobtest
But this will require reinstallation and setup.