Open kallmetony opened 4 months ago
I have the same issue
I ran into the same issue, too. I was using the release version, which was last released in 2022.
To fix it, use the commit version instead of the release version on JitPack. As of today, it's commit 5cdac341e3
, which you can find on JitPack. Example:
implementation("com.github.JnCrMx:discord-game-sdk4j:5cdac341e3")
Hello,
this is because you are using the latest unreleased version of the example, but the latest released version of the library.
The example of the latest version includes the code to download and use the native library: https://github.com/JnCrMx/discord-game-sdk4j/blob/v0.5.5/examples/ActivityExample.java
For the latest unreleased version, this native library is no longer needed and therefore got remove from the example. I need to soon make a major release, so that other project can finally use the new version without the native library.
My apologies for this causing confusion.
My code
Exception