Sqlite erro in Mobile Android 8.1 Cannot load client library: libsqlite.so

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
edmarfrazao
Posts: 15
Joined: Mon 23 Sep 2013 16:34

Sqlite erro in Mobile Android 8.1 Cannot load client library: libsqlite.so

Post by edmarfrazao » Thu 27 Sep 2018 19:40

I'm using Delphi 10.2 update 3
Unidac 7.3.10

Android 8.1

If generating the demo of unidac and running on Android works if:
do not change the AndroidManifest.template.xml
but if it is generated with API 14.


If you move to:
<uses-sdk android: minSdkVersion = "14" android: targetSdkVersion = "26" />

and let sqlite direct true work.
UniConnection.SpecificOptions.Values ['Direct']: = 'True';

But if you leave false

error:
Can not load client library: libsqlite.so

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Sqlite erro in Mobile Android 8.1 Cannot load client library: libsqlite.so

Post by MaximG » Mon 01 Oct 2018 10:02

Indeed, UniDAC works with SQLite in two modes: in Direct Mode, when no external libraries are required to access the database, as well as using the SQLite client library (libsqlite.so for the Android platform). In the second case, the issues with access to this library do not concern the behavior of our product. Therefore, you need to search for a solution to the problems of using libsqlite.so on relevant resources.

Post Reply