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

NDK Compile Error #9

Open
chuncheng1010 opened this issue Jul 8, 2018 · 2 comments
Open

NDK Compile Error #9

chuncheng1010 opened this issue Jul 8, 2018 · 2 comments

Comments

@chuncheng1010
Copy link

chuncheng1010 commented Jul 8, 2018

No description provided.

@lakeman
Copy link
Member

lakeman commented Jul 9, 2018 via email

@chuncheng1010
Copy link
Author

chuncheng1010 commented Jul 11, 2018

Thanks for your reply.
I didn't know to compile libsodium first using dist_build.
Currently I resolved the problem.
I have a other problem.
Currently I am implementing voice talk using bluetooth mesh network based on batphone.
For bluetooth mesh network I made it.
This is my code.

server = ServalD.getServer(null, this);
server.start();
But serer.start() crashes.
This is logcat

07-11 22:14:15.185 3981-4035/com.example.lcs.bluetoothmeshchat E/AndroidRuntime: FATAL EXCEPTION: Servald
Process: com.example.lcs.bluetoothmeshchat, PID: 3981
java.lang.IllegalStateException: Failed to bind sockets
at org.servalproject.servaldna.ServalDCommand.server(Native Method)
at org.servalproject.servald.ServalD$4.run(ServalD.java:368)
at java.lang.Thread.run(Thread.java:776)

ServalDCommand.server(ServalD.this, "", null);
I think there is a problem in there.
But this method calls native method server(IJniServer callback, String keyringPin, String[] entryPins)
So Now I can not know reason.
Looking forward to your reply
Thanks

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