Skip to content

Question: Bundling Native Shared Libraries with Runtime-Enabled SDK Modules – Is It Possible? #537

@jmclaughlinxperi

Description

@jmclaughlinxperi

Hi everyone,

I am trying to create an SDK runtime implementation where I need to bundle a native shared library (.so file) with a runtime-enabled SDK module.

The following build.gradle configuration works perfectly for bundling native libraries in the app module. However, when I apply the same configuration to a runtime-enabled library module, the native .so files are not packaged and installed on the device.

sourceSets { main { jniLibs.srcDirs = ['libs'] } }

Are there any known limitations or workarounds for including native libraries in the run-time enabled SDK modules?
Any insights, examples, or documentation references would be greatly appreciated!

I appreciate any help you can provide.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions