Commit be2176f1 authored by BogDan Vatra's avatar BogDan Vatra Committed by Daniel Teske
Browse files

Use /data/local/tmp instead of /data/local to deploy local libs



Change-Id: Id55c1570222daf2bd04ae1cded4ab53f0cdfbca4
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 674ec5ef
......@@ -252,7 +252,7 @@ bool AndroidDeployStep::deployPackage()
writeOutput(tr("Clean old Qt libraries"));
runCommand(deployProc, AndroidConfigurations::instance().adbToolPath().toString(),
QStringList() << QLatin1String("-s") << m_deviceSerialNumber
<< QLatin1String("shell") << QLatin1String("rm") << QLatin1String("-r") << QLatin1String("/data/local/qt"));
<< QLatin1String("shell") << QLatin1String("rm") << QLatin1String("-r") << QLatin1String("/data/local/tmp/qt"));
writeOutput(tr("Deploy Qt libraries. This may take some time, please wait."));
const QString tempPath = QDir::tempPath() + QLatin1String("/android_qt_libs_") + m_packageName;
......@@ -269,7 +269,7 @@ bool AndroidDeployStep::deployPackage()
AndroidPackageCreationStep::stripAndroidLibs(stripFiles, target()->activeRunConfiguration()->abi().architecture());
runCommand(deployProc, AndroidConfigurations::instance().adbToolPath().toString(),
QStringList() << QLatin1String("-s") << m_deviceSerialNumber
<< QLatin1String("push") << tempPath << QLatin1String("/data/local/qt"));
<< QLatin1String("push") << tempPath << QLatin1String("/data/local/tmp/qt"));
AndroidPackageCreationStep::removeDirectory(tempPath);
emit (resetDelopyAction());
}
......
......@@ -196,7 +196,7 @@ void AndroidRunner::asyncStart()
if (m_useLocalQtLibs) {
extraParams += QLatin1String(" -e use_local_qt_libs true");
extraParams += QLatin1String(" -e libs_prefix /data/local/qt/");
extraParams += QLatin1String(" -e libs_prefix /data/local/tmp/qt/");
extraParams += QLatin1String(" -e load_local_libs ") + m_localLibs;
extraParams += QLatin1String(" -e load_local_jars ") + m_localJars;
if (!m_localJarsInitClasses.isEmpty())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment