Skip to content

NO JNI_ONLOAD #110

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

Closed
abeltsai opened this issue Nov 21, 2013 · 6 comments
Closed

NO JNI_ONLOAD #110

abeltsai opened this issue Nov 21, 2013 · 6 comments

Comments

@abeltsai
Copy link

HI , i put three .so file into lib\armeabi\ .

when i run app have some message as follower

this is one of them ...

Trying to load lib /data/data/com.xx.login/lib/libstlport_shared.so 0x40ffa5e8
Added shared lib /data/data/com.xx.login/lib/libstlport_shared.so 0x40ffa5e8
No JNI_OnLoad found in /data/data/com.xx.login/lib/libstlport_shared.so 0x40ffa5e8, skipping init

the three .so file only one onloaded

Is this find?

@developernotes
Copy link
Member

Hi abeltsai,

Have you completed the integration of SQLCipher for Android where your application uses the Java library as well? Are you receiving any errors?

@abeltsai
Copy link
Author

Yes ! I had complete the "Integration" part.

But i no run "Building" part on the http://sqlcipher.net/sqlcipher-for-android web site.

No received any "red" color error message.

As mentioned above ,only received these message.

It seem look run find. I just worried.

It's find?

@itsmechlark
Copy link

@abeltsai, you may try this https://github.com/itsmechlark/greendao-cipher. It's the combination of greenDAO and this project. In https://github.com/itsmechlark/greendao-cipher/tree/master/dependencies are the things you need. Its fully compatible with SQLite Multithreading.

@developernotes
Copy link
Member

Hi abeltsai,

As a quick test to verify you have properly integrated the library with your application. Could you run hexdump on your database file and verify the content is not plain-text? A command like hexdump -C yourDatabase.db should be sufficient.

@abeltsai
Copy link
Author

mydb

Encryption work ?

@developernotes
Copy link
Member

Hi abeltsa,

Yes, it appears to have worked. Scroll through the file to verify you do not see any of your schema information. From the looks of it everything appears correct.

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