Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Compiling & Running Android App in Qt : Path Error

Compiling & Running Android App in Qt : Path Error

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 3 Posters 1.3k 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.
  • E Offline
    E Offline
    elrio400
    wrote on 12 Apr 2017, 02:20 last edited by
    #1

    I am attempting to compile and run an android app in qt but getting weird errors. I have exhausted all other means to solving this problem and was hoping someone could help

    My compiler spits this out

    19:04:56: Running steps for project scanthatitem...
    19:04:56: Configuration unchanged, skipping qmake step.
    19:04:56: Starting: "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe"
    mingw32-make: Nothing to be done for 'first'.
    19:04:59: The process "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" exited normally.
    19:04:59: Removing directory C:\Users\meech_000\Documents\qtProjects\build-scanthatitem-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_4961f6-Debug\android-build
    19:05:00: Starting: "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" "INSTALL_ROOT=C:\Users\meech_000\Documents\qtProjects\build-scanthatitem-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_4961f6-Debug\android-build" install
    copy /y libscanthatitem.so C:\Users\meech_000\Documents\qtProjects\build-scanthatitem-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_4961f6-Debug\android-build\libs\armeabi-v7a\libscanthatitem.so
    1 file(s) copied.
    19:05:04: The process "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" exited normally.
    19:05:04: Starting: "C:\Qt\5.8\android_armv7\bin\androiddeployqt.exe" --input C:/Users/meech_000/Documents/qtProjects/build-scanthatitem-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_4961f6-Debug/android-libscanthatitem.so-deployment-settings.json --output C:/Users/meech_000/Documents/qtProjects/build-scanthatitem-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_4961f6-Debug/android-build --deployment bundled --android-platform android-25 --jdk "C:/Program Files/Java/jdk1.8.0_45" --ant "C:/Users/meech_000/Documents/New Folder (4)/apache-ant-1.10.1/bin/ant.bat"
    The system cannot find the path specified.
    Generating Android Package
    Input file: C:/Users/meech_000/Documents/qtProjects/build-scanthatitem-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_4961f6-Debug/android-libscanthatitem.so-deployment-settings.json
    Output directory: C:/Users/meech_000/Documents/qtProjects/build-scanthatitem-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_4961f6-Debug/android-build/
    Application binary: C:/Users/meech_000/Documents/qtProjects/build-scanthatitem-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_4961f6-Debug/libscanthatitem.so
    Android build platform: android-25
    Install to device: No
    Building the android package failed!
    -- For more information, run this command with --verbose.
    19:05:14: The process "C:\Qt\5.8\android_armv7\bin\androiddeployqt.exe" exited with code 14.
    Error while building/deploying project scanthatitem (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.8.0))
    When executing step "Build Android APK"
    19:05:15: Elapsed time: 00:19.

    Getting the general message:

    Running Windows Runtime device detection.
    No winrtrunner.exe found.
    The system cannot find the path specified.
    The system cannot find the path specified.

    If someone has ran into this problem and has a solution I would appreciate it

    Rio

    J 1 Reply Last reply 12 Apr 2017, 05:37
    0
    • Y Offline
      Y Offline
      Yashpal
      wrote on 12 Apr 2017, 05:15 last edited by
      #2

      @elrio400 I see this "The system cannot find the path specified". Make sure the path for Android SDK, NDK, JDK and Ant is configured properly.

      1 Reply Last reply
      0
      • E elrio400
        12 Apr 2017, 02:20

        I am attempting to compile and run an android app in qt but getting weird errors. I have exhausted all other means to solving this problem and was hoping someone could help

        My compiler spits this out

        19:04:56: Running steps for project scanthatitem...
        19:04:56: Configuration unchanged, skipping qmake step.
        19:04:56: Starting: "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe"
        mingw32-make: Nothing to be done for 'first'.
        19:04:59: The process "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" exited normally.
        19:04:59: Removing directory C:\Users\meech_000\Documents\qtProjects\build-scanthatitem-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_4961f6-Debug\android-build
        19:05:00: Starting: "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" "INSTALL_ROOT=C:\Users\meech_000\Documents\qtProjects\build-scanthatitem-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_4961f6-Debug\android-build" install
        copy /y libscanthatitem.so C:\Users\meech_000\Documents\qtProjects\build-scanthatitem-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_4961f6-Debug\android-build\libs\armeabi-v7a\libscanthatitem.so
        1 file(s) copied.
        19:05:04: The process "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" exited normally.
        19:05:04: Starting: "C:\Qt\5.8\android_armv7\bin\androiddeployqt.exe" --input C:/Users/meech_000/Documents/qtProjects/build-scanthatitem-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_4961f6-Debug/android-libscanthatitem.so-deployment-settings.json --output C:/Users/meech_000/Documents/qtProjects/build-scanthatitem-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_4961f6-Debug/android-build --deployment bundled --android-platform android-25 --jdk "C:/Program Files/Java/jdk1.8.0_45" --ant "C:/Users/meech_000/Documents/New Folder (4)/apache-ant-1.10.1/bin/ant.bat"
        The system cannot find the path specified.
        Generating Android Package
        Input file: C:/Users/meech_000/Documents/qtProjects/build-scanthatitem-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_4961f6-Debug/android-libscanthatitem.so-deployment-settings.json
        Output directory: C:/Users/meech_000/Documents/qtProjects/build-scanthatitem-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_4961f6-Debug/android-build/
        Application binary: C:/Users/meech_000/Documents/qtProjects/build-scanthatitem-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_4961f6-Debug/libscanthatitem.so
        Android build platform: android-25
        Install to device: No
        Building the android package failed!
        -- For more information, run this command with --verbose.
        19:05:14: The process "C:\Qt\5.8\android_armv7\bin\androiddeployqt.exe" exited with code 14.
        Error while building/deploying project scanthatitem (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.8.0))
        When executing step "Build Android APK"
        19:05:15: Elapsed time: 00:19.

        Getting the general message:

        Running Windows Runtime device detection.
        No winrtrunner.exe found.
        The system cannot find the path specified.
        The system cannot find the path specified.

        If someone has ran into this problem and has a solution I would appreciate it

        J Offline
        J Offline
        jsulm
        Lifetime Qt Champion
        wrote on 12 Apr 2017, 05:37 last edited by jsulm 4 Dec 2017, 05:37
        #3

        @elrio400 said in Compiling & Running Android App in Qt : Path Error:

        C:/Users/meech_000/Documents/New Folder (4)/apache-ant-1.10.1/bin/ant.bat

        One note: you should really avoid paths containing spaces like in the path above! Such paths are a constant source of troubles. Also avoid characters lile ( and ).
        Also I see you're using ant - you should switch to Gradle - you just need to activate it in QtCreator.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        2/3

        12 Apr 2017, 05:15

        • Login

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