Qt5.11 android linux plugin cannot be loaded for module "QtQuick"



  • I'm developing on Linux and was trying to run some of my programs on android, but I'm failling and I don't really know where to look.
    I'm using the ndk version 10 as recommended (qt creator says java and android settings are ok).
    When I try to run the program on android, it builds fine, it even starts to launch but it crashes quickly after opening with plugin cannot be loaded for module "QtQuick"

    Here's the full application output as well as the compile output

    If I try to run the calendar example, made with widgets, it runs fine, but if I try with a qml example, it fails to launch in the same way.


  • Moderators

    @nhatz_hk said in Qt5.11 android linux plugin cannot be loaded for module "QtQuick":

    I'm using the ndk version 10 as recommended (qt creator says java and android settings are ok).

    NDK 10 is good for building Qt itself. For applications, I'd recommend using something fresher, like NDK 15.

    Can't guarantee that it would help, though.

    Are you bundling Qt inside the .apk (this is the default in Qt Creator)?

    Qt 5.11.1 recently came out, maybe try updating?

    Sorry for chaotic set of ideas, but maybe it will help :-)



  • I'm already using Qt 5.11.1.

    I also tried with NDKr17 and I still ge tthe exact same errors.


Log in to reply
 

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