Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Why I can not build the project for android?
Forum Updated to NodeBB v4.3 + New Features

Why I can not build the project for android?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 138 Views
  • 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.
  • M Offline
    M Offline
    myjtag
    wrote on last edited by
    #1

    Why my project would fail to build for android?
    I have started a simple Qt widgets application; the problem is the application would not build and it would fail.
    1.png 2.png 3.png 4.png 5.png

    This is the compile output message

    FAILURE: Build failed with an exception.

    • What went wrong:
      Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

    • Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    • Get more help at https://help.gradle.org

    BUILD FAILED in 857ms
    -- Skipping C:/Qt/6.1.3/android_armv7/plugins/iconengines/libplugins_iconengines_qsvgicon_armeabi-v7a.so. It has unmet dependencies: lib/libQt6Svg_armeabi-v7a.so.
    -- Skipping C:/Qt/6.1.3/android_armv7/plugins/imageformats/libplugins_imageformats_qsvg_armeabi-v7a.so. It has unmet dependencies: lib/libQt6Svg_armeabi-v7a.so.
    Skipping createRCC
    Building the android package failed!
    -- For more information, run this command with --verbose.
    18:04:37: The process "C:\Qt\6.1.3\mingw81_64\bin\androiddeployqt.exe" exited with code 14.
    Error while building/deploying project Test (kit: Android Qt 6.1.3 Clang armeabi-v7a)
    When executing step "Build Android APK"

    I have no Idea what I have done wrong or should I do, since I'm a beginner with QT, please help me solve the issue.

    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