Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-43848

Ot Creator fails to detect install failures on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.4.0
    • QPA
    • None
    • Qt Creator 3.3.0
      Kubuntu 14.04 x86-64
      Acer Iconia B1-750 Android tab.
    • Android

    Description

      When apps fail to deploy for what ever reason, Qt Creator does not detect it and launches the previous installed version. I've had a couple of unpleasant moments when I fixed a bug and tested it and the bug was still there. The first thought is usually "my fix was not good", not to suspect the toolchain.

      It can happen when the device runs out of disk space, or for some other reason. You can see it in Compile Output pane:

      Installing Android package to device.
      Running command "/home/harri/android-sdk-linux/platform-tools/adb -s 44739826169 install -r /home/harri/projects/stoppola/build-Stoppola-Qt5_4_hp_x86-Release/android-build//bin/QtApp-debug.apk"
      pkg: /data/local/tmp/QtApp-debug.apk
      Failure [INSTALL_FAILED_INTERNAL_ERROR]
      Android package built successfully in 20,851 ms.
      – It can now be run from the selected device/emulator.
      – File: /home/harri/projects/stoppola/build-Stoppola-Qt5_4_hp_x86-Release/android-build//bin/QtApp-debug.apk
      18:29:05: The process "/home/harri/qt5.4_hp_x86/bin/androiddeployqt" exited normally.

      The INSTALL_FAILED_... should be a good sign something went wrong.

      Attachments

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

        Activity

          People

            rampe Rami Potinkara
            grego Harri Pasanen
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes