Extension work in companion but crash in apk

I think you need to shift the project to Fast CLI

I think companion uses a live runtime with separate native libraries already loaded.
But the APK must merge all dependencies internally.
These libraries contain code the builder cannot process sometimes can resulting in crash. Else for Niotron, you must use,

socket.io-client 0.9.x or 1.x

engine.io-client matching older versions

okhttp 2.x

okio 1.x

Give it a try with the older version

1 Like