Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android gradle with natives libs #9

Open
KostadinAlmishev opened this issue May 25, 2021 · 0 comments
Open

android gradle with natives libs #9

KostadinAlmishev opened this issue May 25, 2021 · 0 comments

Comments

@KostadinAlmishev
Copy link

Is there any way to setup gradle without manually build ndk? I tried with this gradle dependencies:

implementation platform("org.lwjgl:lwjgl-bom:3.2.3")

implementation "org.lwjgl:lwjgl"
implementation "org.lwjgl:lwjgl-opus"
// linux
runtimeOnly "org.lwjgl:lwjgl::natives-linux"
runtimeOnly "org.lwjgl:lwjgl-opus::natives-linux"
// arm64
runtimeOnly "org.lwjgl:lwjgl::natives-linux-arm64"
runtimeOnly "org.lwjgl:lwjgl-opus::natives-linux-arm64"
// arm32
runtimeOnly "org.lwjgl:lwjgl::natives-linux-arm32"
runtimeOnly "org.lwjgl:lwjgl-opus::natives-linux-arm32"

But after I called Library.initialize() I get:

java.lang.UnsatisfiedLinkError: Failed to locate library: liblwjgl.so
        at org.lwjgl.system.Library.loadSystem(Library.java:162)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant