Fixed the issue where Android build SDK was not populated anymore

Task-number: QTCREATORBUG-16280
Change-Id: I35e174e8c9dca2475e2c7c8c858c17ad7e6141f1
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Vikas Pachdha
2016-05-20 10:23:28 +02:00
committed by Tobias Hunger
parent 30719398b9
commit 399b93966a

View File

@@ -386,7 +386,7 @@ void AndroidConfig::updateAvailableSdkPlatforms() const
proc.setProcessEnvironment(androidToolEnvironment().toProcessEnvironment());
SynchronousProcessResponse response
= proc.run(androidToolPath().toString(), QStringList() << QLatin1String("list") << QLatin1String("target")); // list avaialbe AVDs
if (response.result == SynchronousProcessResponse::Finished)
if (response.result != SynchronousProcessResponse::Finished)
return;
SdkPlatform platform;