Archived Forum Post

Index of archived forum posts


UnsatisfiedLinkError when I import file

Oct 08 '14 at 12:38

I'm trying to import the library into my Java Android Project. I'm using Android Studio with Windows 8.1 - 64x.

In the code line System.LoadLibrary("libchilkatzip") I get the following exception:

java.lang.UnsatisfiedLinkError: Couldn't load CkZip from loader dalvik.system.PathClassLoader[dexPath=/data/app/,libraryPath=/data/app-lib/]: findLibrary returned null

I have imported all .so files under the libs Directory: "armeabi", "armeabi-v71", "mips" and "x86". The Java files are also in my Project under com.chilkatsoft.


The string passed to LoadLibrary should be "chilkatzip" not "libchilkatzip"


Android Studio has some problems including native .so libs. See this:!msg/adt-dev/nQobKd2Gl_8/Z5yWAvCh4h4J