DocsReference
Troubleshooting
Match your symptom, check the cause, apply the fix.
Before you start
Run these first. They answer most questions:
tapsift version --json
tapsift targetsversion --json shows which executable your shell launches. targets shows what TapSift can see and reports errors per source.
Devices and apps
| Symptom | Likely cause | Fix |
|---|---|---|
| No device listed | adb not found, USB debugging off, or the device is not authorized | Install Platform Tools and put adb on PATH, or pass --adb PATH. Authorize this computer on the device. Press Ctrl+R in the picker. |
| Device listed as offline or unauthorized | The transport is up but unusable | Offline and unauthorized devices stay visible on purpose. Reconnect the cable, accept the authorization prompt, then refresh. |
| Emulator listed but nothing captures | Emulator still booting. ADB says device before Android finishes | Wait for boot. TapSift checks sys.boot_completed before it treats the emulator as ready. |
| Emulator missing from favorites or not restored | Its identity could not be confirmed, and a serial can be reused | Select it again from the picker. Update Platform Tools if no transport ID is shown. |
boot does nothing for an AVD | No AVD configured, or the emulator tool is not found | Create an AVD with Android CLI or avdmanager. Pass --emulator PATH if needed. |
| App not in the picker | Package not installed for the selected device, or the list is stale | Check the device in d, then press Ctrl+R in the app picker. |
| Running view is empty or unknown | The process probe failed or is unsupported (always so on iOS Simulator) | Use All or Favorites. |
Logs
| Symptom | Likely cause | Fix |
|---|---|---|
| No app logs | Wrong app, a filter hides them, or the app emits no logs | Check the filter bar. Use Commands → Clear log filters. Confirm the selected app. |
| Logs missing that the app should print | A level filter, build-time removal or an OS-level suppression | A filter cannot recover what was never emitted. Lower the level and check the app's own logging. |
| Error about an unresolved UID or unsupported device filter | TapSift could not resolve the package to a UID. It refuses to capture all apps | Reselect the app, refresh, or check the device. Use --all only if you mean every app. |
Emulator snapshot error: pass --app | Emulator serials can be reassigned, so a CLI snapshot needs a scope | Add --app PACKAGE or --all. |
| Capture stopped or disconnected | Cable, ADB server restart, or emulator closed | Press R to reconnect the original target. After an ADB restart, refresh first. TapSift will not switch to another device. |
| Capture fails with a line-length error | A physical log line over 64 KiB | The line cannot be captured. Reduce what the app logs per line. |
| Few records in a snapshot | Android keeps only its current buffers | Snapshots are not complete history. Record a session with s while you reproduce. |
CLI
| Symptom | Likely cause | Fix |
|---|---|---|
live snapshots require --device SERIAL | No source flag given | Add --demo, --file PATH, --session ID, or --device with --app. |
--demo is not supported by devices (or apps) | Those commands list real devices | Use tapsift targets or the demo in the TUI. |
--limit must be 1..2000 or --max-bytes must be 1024..4194304 | A budget out of range | Use a value in range. |
invalid log regex: ... | The pattern is not valid Go regex syntax | Fix the pattern. |
open FILE: file exists | Exports never overwrite | Choose a new --output name. |
history directory must be a private directory (0700) | --history-dir points at a folder others can read | Make it private: set mode 0700, or use a new folder. |
| Output looks small | A budget omitted records | Read omitted_records and output_truncated. See CLI reference. |
JSON shows \u003e | Standard JSON escaping of > | Parse it as JSON. It decodes to >. |
Interface
| Symptom | Likely cause | Fix |
|---|---|---|
| Logo takes a moment at launch | The startup animation, about 2.4 seconds | Press any key, or use --no-animation or TAPSIFT_REDUCED_MOTION=1. |
| Mirror unavailable | No FFmpeg, no Kitty graphics, window too small, or no verified transport | Open Inspect mirror status and failure reason in Ctrl+K. Install FFmpeg or pass --ffmpeg PATH. Try --mirror-renderer text. Make the window at least 80 by 21. Mirror is experimental. |
| Mirror stops after a while | Segment ended or an unexpected end | Press p to retry. |
| Save panel unavailable | Remote session, Linux, or a failed native panel | Use --save-dialog terminal. Choose an existing parent folder and an unused file name. |
| Quit keeps asking | The exit dialog defaults to Keep running | Press Tab to select Exit, then Enter. |
| Key does nothing | You are in an editor, or a dialog is open | Press Esc. In editors [ and ] type text. |
| Colors look wrong | The terminal limits colors, or NO_COLOR is set | Try --theme terminal. Check NO_COLOR. |
.itermcolors import fails | Binary plist, wrong extension, missing colors, or over 64 KiB | Export a color preset as XML from iTerm2. See Themes. |
App Actions
| Symptom | Likely cause | Fix |
|---|---|---|
| Actions are disabled | You opened a file or saved session | Actions work only on a live device. |
| UID verification failed | The app was reinstalled or the transport changed | Reselect the app. Refresh an emulator whose identity is unknown. |
| An action was refused | Another action is still running | Wait, then retry. Actions are never queued. |
| Clear data refuses to open | The terminal is smaller than 60 by 21 | Enlarge the window. |
Still stuck
Check Privacy and limits for what is not verified. When you report a problem, include tapsift version --json, your host and terminal, the exact command, and a minimal synthetic reproduction. Never include credentials, customer logs or device identifiers. For a security issue, use the private route described in Privacy and limits.