Skip to content

tdjson jni method invoke error #3299

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

Open
liuykk opened this issue Apr 10, 2025 · 1 comment
Open

tdjson jni method invoke error #3299

liuykk opened this issue Apr 10, 2025 · 1 comment

Comments

@liuykk
Copy link

liuykk commented Apr 10, 2025

Exception in thread "main" java.lang.UnsatisfiedLinkError: org.drinkless.tdlib.JsonClient.setLogMessageHandler(ILorg/drinkless/tdlib/JsonClient$LogMessageHandler;)V

@levlam
Copy link
Contributor

levlam commented Apr 10, 2025

Check that you use only JsonClient.java and link with libtdjni.so built with tdjson interface using the option -DTD_JSON_JAVA=ON.

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

2 participants