Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20821

Deploying Android app on qt5/dev (5.12) fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • Qt Creator 4.7.0
    • Android Support
    • None
    • Linux/X11

    Description

      Use a recent build of Qt 5.12 (my own checkout is from 19/7/18) to reproduce. It seems the target directory for the apk has changed. I am using qtconnectivity/tests/bttestui as example app. I get the following error message

       

      {quote}

      adb: failed to stat /home/abc/dev/qt/qt5devandroid/qtconnectivity/tests/bttestui/android-build//build/outputs/apk/android-build-debug.apk: No such file or directory

      Installing to device failed!

      Installing Android package to device.

      Running command "/home/abc/java/android-sdk-linux/platform-tools/adb -s 00b10979ab913865 install -r /home/abc/dev/qt/qt5devandroid/qtconnectivity/tests/bttestui/android-build//build/outputs/apk/android-build-debug.apk"

      10:35:16: The process "/home/abc/dev/qt/qt5devandroid/qtbase/bin/androiddeployqt" exited with code 16.

      {quote}

       

      The apk can be found in tests/bttestui/android-build/build/outputs/apk/debug/android-build-debug.apk and manually copying it one directory up fixes the problem.

      Although I have not tested this I assume release builds may have a similar issues with a different path.

       

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              vikas Vikas Pachdha
              ablasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes