Important: Please read the Qt Code of Conduct -

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:

    But this will:

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

Log in to reply