Native library directory /system/priv-app/qt/lib/arm64/ does not exist or is empty
Solved
Mobile and Embedded
-
I am creating an android application which will be placed in system/priv-app/qt, this app will load native library named "libtest_so.so" from system/lib64.
But when I start app by adb: I got the error as below:
Here is my pro file:
And below is AndroidManifest file:
My question is : How to load "libtest_so.so" from "system/lib64" ?
Thanks bro -
Z zappy.mans referenced this topic on
-
I finally found the solution for my question. You must do the right thing as below:
- You must use Qt 6.4 or above.
- You must use CMake and follow this guide to read share lib from system/lib64.https://www.qt.io/blog/using-qt-as-shared-system-libraries-in-android
-
Z zappy.mans has marked this topic as solved on
-
Z zappy.mans has marked this topic as unsolved on
-
Z zappy.mans has marked this topic as solved on