login about faq

We have few troubles with the Chilkat Android Java Library v9.4.0 since the Android update 4.1, API Level 16. Before (Android 4.0.3, API 15), it worked fine. Now, the followed command lines :

try {
System.load("libchilkatsftp.so");

} catch (UnsatisfiedLinkError e) { return "Native code library failed to load. " + e; }

give an error/java exception :

    Native code library failed to load. java.lang.UnsatisfieldLinkError:
    Cannot load library: load_segment[907]: 116 failed to map segment from 'libchilkatsftp.so' @ 0x5d99f000 (0x0020cdf8). 
    p_vaddr=0x00000000 p_offset = 0x00000000

Is the Chilkat Android Java Library compatible yet with Android 4.1, API Level 16 ? Then, what's wrong ?

Configuration :

- Model : Samsung Galaxy Tab 2
- Android  version : 4.1.2
- SDK Google versions :

- SDK Platform API 16 Rev. 4
- ARM EABIv7a System Image API 16 Rev. 3
- GoogleAPIs API 16 Rev. 3

asked Jun 04 '13 at 10:22

chilkat's gravatar image

chilkat ♦♦
11.8k316358421


This problem was resolved. The information here was helpful in finding the correct solution:

http://stackoverflow.com/questions/6291087/android-load-library-error-failed-to-map-segment

The solution was to put the Chilkat Java library with the application (directory : /data/data/<application>/)

link

answered Jun 04 '13 at 10:24

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:

×45
×8

Asked: Jun 04 '13 at 10:22

Seen: 2,419 times

Last updated: Jun 04 '13 at 10:24

powered by OSQA