Archived Forum Post

Index of archived forum posts

Question:

Android Unsatisfied Link Error since the Android update 4.1, API Level 16

Jun 04 '13 at 10:24

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

Accepted Answer

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>/)