login about faq

I'm trying to import the libchilkatzip.so 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/de.xy.xyz-107.apk,libraryPath=/data/app-lib/de.xy.xyz-107]: 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.

asked Oct 07 '14 at 14:17

MichaB's gravatar image


edited Oct 07 '14 at 14:25

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


answered Oct 08 '14 at 09:07

chilkat's gravatar image

chilkat ♦♦

Android Studio has some problems including native .so libs. See this: https://groups.google.com/forum/#!msg/adt-dev/nQobKd2Gl_8/Z5yWAvCh4h4J


answered Oct 08 '14 at 12:38

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Oct 07 '14 at 14:17

Seen: 3,397 times

Last updated: Oct 08 '14 at 12:38

powered by OSQA