Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Native library directory /system/priv-app/qt/lib/arm64/ does not exist or is empty
QtWS25 Last Chance

Native library directory /system/priv-app/qt/lib/arm64/ does not exist or is empty

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 674 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • zappy.mansZ Offline
    zappy.mansZ Offline
    zappy.mans
    wrote on last edited by zappy.mans
    #1

    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:
    139d4140-544c-4479-9cb9-b5be8c1364fd-image.png
    Here is my pro file:
    1ffc2987-31d2-470c-a145-d34cd62c7a1c-image.png
    And below is AndroidManifest file:
    c7849f65-72ed-4b22-8954-b21e592a08cc-image.png

    My question is : How to load "libtest_so.so" from "system/lib64" ?
    Thanks bro

    1 Reply Last reply
    0
    • zappy.mansZ zappy.mans referenced this topic on
    • zappy.mansZ Offline
      zappy.mansZ Offline
      zappy.mans
      wrote on last edited by
      #2

      I finally found the solution for my question. You must do the right thing as below:

      1. You must use Qt 6.4 or above.
      2. 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
      1 Reply Last reply
      0
      • zappy.mansZ zappy.mans has marked this topic as solved on
      • zappy.mansZ zappy.mans has marked this topic as unsolved on
      • zappy.mansZ zappy.mans has marked this topic as solved on

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved