Diagnostics & errors
Android Java SDK: Diagnostics & errors
Current version · 1.4.0
Diagnostics & errors
Record the Android delivery version, OS/device and failing operation. For installation/R8, check the complete Maven directory and standard desugaring. For USB, check permission, explicit port and CDC ACM support.
| Symptom | Check/action |
|---|---|
| JNI loading failure | Check the matching Core/Exo delivery and delivered ARM64 libraries in the APK |
| Missing Flow type | Use standard desugar_jdk_libs:2.1.5 rather than minimal |
| Device missing or ambiguous | Check ExoConfig name and explicit port |
| Empty latest | Await first frame; check device.start and Exo runtime |
| Stale telemetry | Inspect connection/stale/error status and health |
| Silent Publisher | Request positive demand; no-demand frames are not replayed |
| Haptics failure | Check capability, range and typed control error |
| No update notice | Check update_checks_enabled in the delivery record and an enabled Stable/RC identity (Dev checks are disabled) |
Selection uses NotFoundSelectionException and AmbiguousSelectionException. Handle control failures through ExoControlException.kind() and related fields; other SDK failures remain QnBotException subtypes. Health is available at SDK, domain and device scope, with counts, device mappings and last error.
Do not close SDK/devices inside subscribers. Cancel and end the session from a worker outside callbacks.