Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.2.0-rc1
-
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.