[...] [target.'cfg(target_os="android")'.dependencies] jni = { version = "0.5", default-features = false } [lib] crate-type = ["dylib"]