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

UnsatisfiedLinkError #13

Open
jam0cam opened this issue Oct 1, 2016 · 4 comments
Open

UnsatisfiedLinkError #13

jam0cam opened this issue Oct 1, 2016 · 4 comments
Assignees

Comments

@jam0cam
Copy link

jam0cam commented Oct 1, 2016

The error happens on this line, when trying to init EMClient.getInstance().init(context, options);

FATAL EXCEPTION: main Process: com.jiacorp.androidexample2, PID: 2358
java.lang.UnsatisfiedLinkError: dlopen failed: library "libsqlite.so" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:977)
at java.lang.System.loadLibrary(System.java:1530)
at com.hyphenate.chat.EMClient.loadLibrary(Unknown Source)
at com.hyphenate.chat.EMClient.getInstance(Unknown Source)

@jerrywu12
Copy link
Contributor

there’s no need to compile the EaseUI. just put it at the same directory as your demo project. Rebuild the project, then it should works.

@jam0cam
Copy link
Author

jam0cam commented Oct 1, 2016

I wasn't trying to compile the EaseUI. I included it in my own project, ran it, and got a run time exception.

@jam0cam
Copy link
Author

jam0cam commented Oct 2, 2016

Looks like the issue is caused by me setting the compileSdkVersion and targetSdkVersion to 24. Perhaps this doesn't support the latest version.

@jerrywu12
Copy link
Contributor

let me sync with engineering team and get back to you ASAP. However, in the meantime, are you able to run the demo app without using the latest version 24?
Run the Android demo app from master branch https://github.com/HyphenateInc/Hyphenate-Demo-Android and EaseUI from master branch https://github.com/HyphenateInc/Hyphenate-EaseUI-Android under the same directory.
Please feel free to leave a message if you still encounter issue.

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

3 participants