Qt on Android, Adding directories to libs



  • Using other threads on this board as reference, I was able to add other native shared libraries to an Android project by adding the lib files to android/libs/arch in the project directory and editing libs.xml and AndroidManifest.xml as appropriate. This works fine when the library itself is literally in android/libs/arch.

    However if I create any folders in android/libs/arch they are ignored by QtCreator and the libs inside those folders aren't copied over to the APK.

    So the following won't be copied to the APK:
    android/libs/arch/plugins/pluginabc.so

    But this will:
    android/libs/arch/pluginabc.so

    Is it possible to package those additional directories and their contents under android/libs/arch?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.