aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/android/androiddeployqtstep.cpp
diff options
context:
space:
mode:
authorBogDan Vatra <bogdan@kde.org>2022-06-22 15:15:48 +0300
committerBogDan Vatra <bogdan@kdab.com>2022-06-23 08:25:43 +0000
commitaaf2318a19799bbbc15f925022bddf57f4b1c28f (patch)
tree812c29a421b733ef4a76e65a901cefe4dda16076 /src/plugins/android/androiddeployqtstep.cpp
parent146f59e808bf0c60c0a373e6e569b08589d11d0f (diff)
Fix Android debugging
- gatherFilesToPull depends on AndroidManager::setDeviceAbis - use the same path for app_process. gatherFilesToPull pulls app_process to AndroidManager::buildDirectory(target) which might be different than activeRunConfig->buildTargetInfo().workingDirectory. Change-Id: Id47c4380fed5a8b3ad922359e5f9f25e529bacff Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/android/androiddeployqtstep.cpp')
-rw-r--r--src/plugins/android/androiddeployqtstep.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/android/androiddeployqtstep.cpp b/src/plugins/android/androiddeployqtstep.cpp
index 104d1151a0..a8b8124fd9 100644
--- a/src/plugins/android/androiddeployqtstep.cpp
+++ b/src/plugins/android/androiddeployqtstep.cpp
@@ -213,12 +213,12 @@ bool AndroidDeployQtStep::init()
m_serialNumber = info.serialNumber;
qCDebug(deployStepLog) << "Selected device info:" << info;
- gatherFilesToPull();
-
AndroidManager::setDeviceSerialNumber(target(), m_serialNumber);
AndroidManager::setDeviceApiLevel(target(), info.sdk);
AndroidManager::setDeviceAbis(target(), info.cpuAbi);
+ gatherFilesToPull();
+
emit addOutput(tr("Deploying to %1").arg(m_serialNumber), OutputFormat::NormalMessage);
m_uninstallPreviousPackageRun = m_uninstallPreviousPackage->value();