SDKJava (Android) SDK

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.

SymptomCheck/action
JNI loading failureCheck the matching Core/Exo delivery and delivered ARM64 libraries in the APK
Missing Flow typeUse standard desugar_jdk_libs:2.1.5 rather than minimal
Device missing or ambiguousCheck ExoConfig name and explicit port
Empty latestAwait first frame; check device.start and Exo runtime
Stale telemetryInspect connection/stale/error status and health
Silent PublisherRequest positive demand; no-demand frames are not replayed
Haptics failureCheck capability, range and typed control error
No update noticeCheck 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.