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. When executing step "Build Android APK"
Forum Updated to NodeBB v4.3 + New Features

When executing step "Build Android APK"

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 1.5k 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.
  • T Offline
    T Offline
    THEFree
    wrote on last edited by
    #1

    13:18:32: 进程"D:\Qt5.7.1\Tools\mingw530_32\bin\mingw32-make.exe"正常退出。
    13:18:32: Starting: "D:\Qt5.7.1\5.7\android_armv7\bin\androiddeployqt.exe" --input F:/android_QT/build-demo2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_1-Debug/android-libdemo2.so-deployment-settings.json --output F:/android_QT/build-demo2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_1-Debug/android-build --deployment bundled --android-platform android-25 --jdk "C:/Program Files/Java/jdk1.8.0_111" --ant D:/apache-ant-1.9.7/bin/ant.bat
    Generating Android Package
    Input file: F:/android_QT/build-demo2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_1-Debug/android-libdemo2.so-deployment-settings.json
    Output directory: F:/android_QT/build-demo2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_1-Debug/android-build/
    Application binary: F:/android_QT/build-demo2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_1-Debug/libdemo2.so
    Android build platform: android-25
    Install to device: No
    Buildfile: F:\android_QT\build-demo2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_1-Debug\android-build\build.xml

    -set-mode-check:

    -set-debug-files:

    -check-env:
    [checkenv] Android SDK Tools Revision 24.4.1
    [checkenv] Installed at D:\android-sdk-windows

    -setup:
    [echo] Project Name: QtApp
    [gettype] Project Type: Application

    -set-debug-mode:

    -debug-obfuscation-check:

    -pre-build:

    -build-setup:

    BUILD FAILED
    D:\android-sdk-windows\tools\ant\build.xml:483: SDK does not have any Build Tools installed.

    Total time: 1 second
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Material.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Universal.impl
    Building the android package failed!
    -- For more information, run this command with --verbose.
    13:18:54: 进程"D:\Qt5.7.1\5.7\android_armv7\bin\androiddeployqt.exe"退出,退出代码 14 。
    Error while building/deploying project demo2 (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.7.1))
    When executing step "Build Android APK"

    sierdzioS 1 Reply Last reply
    0
    • T THEFree

      13:18:32: 进程"D:\Qt5.7.1\Tools\mingw530_32\bin\mingw32-make.exe"正常退出。
      13:18:32: Starting: "D:\Qt5.7.1\5.7\android_armv7\bin\androiddeployqt.exe" --input F:/android_QT/build-demo2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_1-Debug/android-libdemo2.so-deployment-settings.json --output F:/android_QT/build-demo2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_1-Debug/android-build --deployment bundled --android-platform android-25 --jdk "C:/Program Files/Java/jdk1.8.0_111" --ant D:/apache-ant-1.9.7/bin/ant.bat
      Generating Android Package
      Input file: F:/android_QT/build-demo2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_1-Debug/android-libdemo2.so-deployment-settings.json
      Output directory: F:/android_QT/build-demo2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_1-Debug/android-build/
      Application binary: F:/android_QT/build-demo2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_1-Debug/libdemo2.so
      Android build platform: android-25
      Install to device: No
      Buildfile: F:\android_QT\build-demo2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_1-Debug\android-build\build.xml

      -set-mode-check:

      -set-debug-files:

      -check-env:
      [checkenv] Android SDK Tools Revision 24.4.1
      [checkenv] Installed at D:\android-sdk-windows

      -setup:
      [echo] Project Name: QtApp
      [gettype] Project Type: Application

      -set-debug-mode:

      -debug-obfuscation-check:

      -pre-build:

      -build-setup:

      BUILD FAILED
      D:\android-sdk-windows\tools\ant\build.xml:483: SDK does not have any Build Tools installed.

      Total time: 1 second
      Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.impl
      Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Material.impl
      Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Universal.impl
      Building the android package failed!
      -- For more information, run this command with --verbose.
      13:18:54: 进程"D:\Qt5.7.1\5.7\android_armv7\bin\androiddeployqt.exe"退出,退出代码 14 。
      Error while building/deploying project demo2 (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.7.1))
      When executing step "Build Android APK"

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @THEFree said in When executing step "Build Android APK":

      D:\android-sdk-windows\tools\ant\build.xml:483: SDK does not have any Build Tools installed.

      The error message is pretty clear :-) Open your Android SDK manager and install the build tools package.

      (Z(:^

      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