Search code examples
androidandroid-librarysqlcipherunsatisfiedlinkerror

No armeabi folder


I´m trying to integrate SQLCipher with my android application. I´m getting the following error when running the app:

java.lang.Unsatisfiedlinkerror Couln´t load stlport_shared: find library returned NULL

The thing is i have already add to my classpath the following JARS

commons-codec.jar

guava-r09.jar

sqlcipher.jar

In the instructions it says, u have to add 3 .os files into armeabi folder inside libs, but in my libs folder I only have android-suppor-v4.jar

What do I have to do? Any ideas?

Regards!


Solution

  • Ok, with the help of Micheal I have solved the issue.

    There was no armeabi folder inside "libs". I have to create here the same structure as in this link https://github.com/sqlcipher/android-database-sqlcipher/tree/master/libs

    Then, you have to add to your build path the 3 jar files, and in the folder assests you have to copy the .zip file that is in there too.

    That solved the problem, and now the database is working fine with SQLCipher.

    Thanks you!