Generating Android APK from QT creator fails (Please help, stuck for more than 2 days).



  • QT Version: 5.9.1
    Tool chains and emulator is created fine. I am able to start the AVD from the QT Devices tab. Can you please help? The .so file (NDK compile) is working fine. It fails when I try to deploy, no logs or errors other than below error.

    Thanks a lot.

    Cannot find the android build step.
    Error while building/deploying project analogclock (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.8.0 for Android armv7))
    When executing step "Deploy to Android device"



  • This is on MAC using the Android API 22, with both tool chains (ARM and x86 emulator). I have setup the right paths for SDK, NDK and JDK.

    Thanks!


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Are you using Gradle for deployment ?

    Also, did you look at the Deploying Applications to Android Devices chapter in Qt Creator's documentation ?


Log in to reply
 

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