SDKJava (Android) SDK

Common questions

Android Java SDK: Common questions

Current version · 2.0.0

Common questions

Gradle cannot resolve the AAR, or R8 reports missing classes

Use the complete Maven delivery, keep its dependencies and repositories, and rebuild the release. See Installation & requirements.

No USB device is found, or authorization fails

Confirm the device supports USB Host. Show inventory() candidates, request permission for the selected port, await the system result, then check hasPermission. See Device discovery & connection.

The device connects but no data arrives

Confirm start() was called and the runtime is running; latest() is empty before the first sample; check connected, stale and lastError. See Data channels & read methods.

Pose works but there is no skeleton

Confirm the delivery contains the algorithm, select the skeleton before start, and complete capture and calibration. See Reading retargeting data.

Capture keeps waiting

Show the current captureProgress() and submit only operations allowed by allowedOperations with the matching requestId. See Capture.

Calibration results are empty

waitForResults() must run on a worker thread; the capture session must be COMPLETED. See Calibration.

Algorithm ZIP installation fails

Use the android-arm64 delivery, install on a worker thread, and keep the dependencies inside the ZIP. See Reading retargeting data.

Timestamps do not line up

sourceTime is the producer timeline and observedAt is SDK monotonic time; do not subtract them directly. See Timestamps & external time sync.