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

[REG 4.1->4.2]: Failure to install over existing app with different certificate

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.6.1
    • Qt Creator 4.2.0-rc1
    • Android Support
    • None
    • Windows 10

    Description

      If you have already installed an application on a device with a different certificate (debug build from a different version of the SDK for instance), then Android will refuse to overwrite it.

      Before we would handle this gracefully by offering the user to uninstall the existing installation first, but that seems to have disappeared. Instead you get the following error message now, hidden in the compile output console:

      Running command "E:/android-sdk/platform-tools/adb.exe -s 6120001740  install -r E:/releasetesting/571-680/Examples/Qt-5.7/location/build-mapviewer-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_1_2e8883-Debug/android-build//bin/QtApp-debug.apk"
      Failed to install E:/releasetesting/571-680/Examples/Qt-5.7/location/build-mapviewer-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_1_2e8883-Debug/android-build//bin/QtApp-debug.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package org.qtproject.example.qml_location_mapviewer signatures do not match the previously installed version; ignoring!]
      Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
      Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
      Installing to device failed!
      11:45:54: The process "E:/releasetesting/571-680/5.7/android_armv7/bin/androiddeployqt.exe" exited with code 16.
      

      Attachments

        Activity

          People

            vikas Vikas Pachdha
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: