forked from qt-creator/qt-creator
Android: Fix installQASIPackage() command
Currently the installation always fails with the following message on std err: No argument expected after "-r ". Removing the space after the -r arg seems to fix the issue and process finishes with success. Change-Id: I035442da0168580939f9b851554e8ec96713f99e Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -601,7 +601,7 @@ void installQASIPackage(Target *target, const FilePath &packagePath)
|
|||||||
}
|
}
|
||||||
|
|
||||||
QStringList arguments = AndroidDeviceInfo::adbSelector(deviceSerialNumber);
|
QStringList arguments = AndroidDeviceInfo::adbSelector(deviceSerialNumber);
|
||||||
arguments << "install" << "-r " << packagePath.path();
|
arguments << "install" << "-r" << packagePath.path();
|
||||||
QString error;
|
QString error;
|
||||||
Process *process = startAdbProcess(arguments, &error);
|
Process *process = startAdbProcess(arguments, &error);
|
||||||
if (process) {
|
if (process) {
|
||||||
|
Reference in New Issue
Block a user