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 build: No implementation found for int com.zerotier.sockets.ZeroTierNative.zts_init() #194
Comments
Hmm, it's there. Welcome to the wonderful world of Java JNI: https://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/design.html Can you paste the full build log? |
: )
|
My Java code: val node = ZeroTierNode() and then Exception was thrown: java.lang.UnsatisfiedLinkError: No implementation found for int com.zerotier.sockets.ZeroTierNative.zts_init() |
Hi Joe, have you got a chance to look into this? thanks |
@zhaoqp Have you managed to solve this? I'm having the same error but I'm unable to look into libzt.so in the .aar to see if the method is present. I wonder if there is a linking problem between the native C++ and the java. Sadly, I'm not good enough at CMake to find if there's a misconfiguration. I'm using the latest libzt release 1.8.10. |
@zhaoqp @joseph-henry created #201 to address this- |
there is no zts_init() in libzt.so
but in ZeroTierNative.java, there is a call to zts_init().
Please help~
The text was updated successfully, but these errors were encountered: