From c1512dce879ce0fd2c5d45858c3af8f3493f658e Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Wed, 23 Feb 2022 11:56:39 +0200 Subject: [PATCH] Android: don't stop deployment if the kit's ABIs list is empty If for some reason we cannot get the list of kit's ABIs or it's not set, don't stop the deployment because of that, let it continue and fail later. Fixes: QTCREATORBUG-27103 Change-Id: I973e5ffdca1e8fb6af3f6e6438969b38b8e375c8 Reviewed-by: Alessandro Portale Reviewed-by: --- src/plugins/android/androiddeployqtstep.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/android/androiddeployqtstep.cpp b/src/plugins/android/androiddeployqtstep.cpp index 1d76083a6e0..69b57651445 100644 --- a/src/plugins/android/androiddeployqtstep.cpp +++ b/src/plugins/android/androiddeployqtstep.cpp @@ -182,7 +182,7 @@ bool AndroidDeployQtStep::init() return false; } - if (!dev->canSupportAbis(selectedAbis)) { + if (!selectedAbis.isEmpty() && !dev->canSupportAbis(selectedAbis)) { const QString error = tr("The deployment device \"%1\" does not support the " "architectures used by the kit.\n" "The kit supports \"%2\", but the device uses \"%3\".")