Tool for cleaning up Android devices. Designed for restoring state of devices used for QA on Device Farmer. By default STF uninstalls apps installed during session only on clean end of usage.
- unneeded apps uninstallation, except those listed in file pointed by
- external storage (
- temporary directory (
- force stopping all apps
Contains all the logic, can be used without Device Farmer.
Required environment variables
ANDROID_HOME- should point to Android SDK root dir containing valid platform-tools, provided by Android stack on Bitrise
STF_DEVICE_SERIAL_LIST- should contain devices serial numbers as a JSON array, provided by Open STF Connect step
EXCLUDED_PACKAGES_LIST_PATH- should be a path to file with packages excluded from uninstallation (one per line)