SDKJava (Android) SDK

Common questions

Android Java SDK: Common questions

Current version · 1.4.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 telemetry does not arrive

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

Haptics produce no output

Check device.getDeviceInfo().capabilities.haptics first, then call device.haptics().set(new ExoHaptics(left, right)) after the runtime starts. Strength is 0–100. See Haptics.

How should a composite app be configured?

Use CompositeExoGloveConfig and pass the shared serial port once in the outer configuration. See Glove + Exo composite solution.