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. Generating Android APK from QT creator fails (Please help, stuck for more than 2 days).
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 1.3k Views 1 Watching
  • 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.
  • J Offline
    J Offline
    JDev
    wrote on last edited by
    #1

    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"

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JDev
      wrote on last edited by
      #2

      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!

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        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 ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

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