Open MrKangZuBin opened 2 weeks ago
You use incompatilble libtdjni.so and Java wrapper classes. You must use Java classes and libtdjni.so from exactly the same TDLib version.
I didn’t see libtdjni.so after I built it.
Did you build it as specified at https://tdlib.github.io/td/build.html?language=Java?
https://tdlib.github.io/td/build.html?language=Java I followed this method. Now I put the libs in the jdk bin and it works, but other errors occur. A fatal error has been detected by the Java Runtime Environment: #
#
#
According to the error message, I reinstalled Microsoft Visual C++ Redistributable and restarted the computer, but the error still occurred
hs_err_pid9696.log this is log
Example is git clone的
See https://github.com/tdlib/td/issues/2912#issuecomment-2156135946 and the answer above.
[ 1][t 0][1724935265.820765257][tl_jni_object.cpp:37] Can't find class [org/drinkless/tdlib/Log] FATAL ERROR in native method: Can't find class [org/drinkless/tdlib/Log]