[Interest] Android AAB and shared libs?

Alexander Dyagilev alervdvcw at gmail.com
Thu Jul 15 13:11:55 CEST 2021


Hello,

In my project I have 2 sub projects: application and shared library, 
which application uses.

Shared library:

TARGET = logger
TEMPLATE = lib
CONFIG += qt skip_target_version_ext
DESTDIR = ../../../bin

Application:

LIBS *= -L$$OUT_PWD/$$DESTDIR -llogger

All was working fine before AAB.

Now I'm trying to compile using Qt 5.15.2 + AAB.

It generates the following error:

error: cannot find -llogger

This is because its name now is liblogger_armeabi-v7a.so.

Is there a simple way to fix this? I also need this to still be able to 
build with Qt 5.12.11 APK format.



More information about the Interest mailing list