It's been a while, but I've had good luck using the "Bindings Library" project type to wrap native Java Libs. Sometimes I would have to build an intermediate Android project (using Eclipse or android studio) to proxy the calls, but it wasn't too painful. For iOS it's more difficult and a bit of a weak spot for the platform.