Android: Show output of android create avd

The output is shown in the general message pane. Which is rather
suboptimal since both ways to create avds are via a modal dialog, thus
the output is not even accessible  easily. So far no one has reported
issues with failed avd creation. In case someone does, we now have the
output of the command.

Task-number: QTCREATORBUG-10601
Change-Id: I41c68d48fd317cd0e892a5ab3f5e2a5fa4bcbae9
Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
Daniel Teske
2013-11-22 16:40:41 +01:00
parent afb3fa7395
commit e93b59ca12

View File

@@ -37,6 +37,7 @@
#include "androiddevicedialog.h"
#include <coreplugin/icore.h>
#include <coreplugin/messagemanager.h>
#include <utils/hostosinfo.h>
#include <utils/persistentsettings.h>
#include <projectexplorer/kitmanager.h>
@@ -565,6 +566,8 @@ QString AndroidConfigurations::createAVD(const QString &target, const QString &n
break;
}
Core::MessageManager::write(QString::fromLocal8Bit(question), Core::MessageManager::Flash);
proc.waitForFinished();
if (proc.exitCode()) // error!