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

sodium_version_string crashes Android device #117

Open
jeprojects opened this issue Aug 26, 2018 · 1 comment
Open

sodium_version_string crashes Android device #117

jeprojects opened this issue Aug 26, 2018 · 1 comment

Comments

@jeprojects
Copy link
Contributor

When calling sodium_version_string from an Android device it crashes the device with this error:

JNI DETECTED ERROR IN APPLICATION: attempt to return an instance of java.lang.String from byte[] org.libsodium.jni.SodiumJNI.sodium_version_string()

Any advice?

@joshjdevl
Copy link
Owner

I'm not completely sure.

There used to be emulation tests that would execute on the Android emulator as part of the continuous integration build. That might help to pinpoint if this issue happens on all Android apis or just a select few.

However, I recently disabled the emulation tests as I haven't been keeping it up to date with the Android updates.

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