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

MichaB
12

edited Oct 07 '14 at 14:25


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

link

answered Oct 08 '14 at 09:07

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

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

link

answered Oct 08 '14 at 12:38

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×8
×1

Asked: Oct 07 '14 at 14:17

Seen: 1,635 times

Last updated: Oct 08 '14 at 12:38

powered by OSQA