Please be aware that the SAP SQL Anywhere Forum will be shut down on August 29th, 2024 when all it's content will be migrated to the SAP Community.

We updated our so files and jar file, according to the description in "UltraliteJ 64bit" forum topic ( The build is ok, the apk includes the files, but the app crashes immediately after install with the following error message:

ACRA caught a UnsatisfiedLinkError for java.lang.UnsatisfiedLinkError: No implementation found for void (tried Java_com_sap_ultralitejni17_implementation_JniDbMgr_setLibraryLocation and Java_com_sap_ultralitejni17_implementation_JniDbMgr_setLibraryLocation__Ljava_lang_String_2) at Method) at Source:76) at Source:0)

Got the same error message on
- Android 9, 10 and 11 as well - With different Ultralite 17 builds (5855, 6230, 6315)

With the previous versions, without support for Android arm64 and x86_64, the app did not and does not crash.

How can we solve this runtime error?

Thank You in advance!

asked 19 Aug '21, 06:32

ddoczi's gravatar image

accept rate: 0%

This is unlikely to be specifically the result of changes to add support for arm64 and and x64. Can you confirm the target devices (Device model, android version, and chipset) in which this issue is seen? I know of other implementation using these patches without error. Perhaps the wrong shared library is being loaded.

(19 Aug '21, 12:50) Chris Keating

With universal apks we tested it on the following devices (also tested with split):

Device model: Samsung Galaxy Tab Active2 android version: 9 chipset: arm-v7

Device model: Samsung Galaxy Tab Active3 android version: 10 chipset: arm-v7

Device model: Samsung Galaxy Tab Active3 android version: 11 chipset: arm-v7

The last patch without x64 support (5820) does not crash.

(23 Aug '21, 05:18) ddoczi

I cannot reproduce this behavior. If you are able, can you open a support incident on this topic. If not, can you package up a simple repro (one that is simply creates/connects to a database) that shows the problem and send to and I will take a look. It is very odd since this method has existed well before any of the changes that you cite and other environments are not reporting this behaviour. Please include the specific SQLAny 17 version that you are testing so that I can check the deployment files.

(23 Aug '21, 16:01) Chris Keating

Thank you for the suggestion. I sent the email to you.

(27 Aug '21, 04:55) ddoczi

The native libraries are, by default, located in the projects app/src/main/jniLibs with the directories


This was the cause for this issue. There may be configuration changes that can be made to redirect where the shared objects can be located in the Android Studio project. For example, the app/build.gradle android{...} may use the following

sourceSets { main { jni.srcDirs = ['src/main/jni', 'src/main/jniLibs/'] } }

to define the location of the libraries.

permanent link

answered 31 Aug '21, 08:58

Chris%20Keating's gravatar image

Chris Keating
accept rate: 32%

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]( "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

Question tags:


question asked: 19 Aug '21, 06:32

question was seen: 1,219 times

last updated: 31 Aug '21, 08:58