Commit 4174246b authored by Daniel Teske's avatar Daniel Teske
Browse files

Android: Set ANDROID_HOME environment variable

Task-number: QTCREATORBUG-9424

Change-Id: Iba4a9663a8fa39160f1953366ae4aa64d5f586ea
Reviewed-by: default avatarEskil Abrahamsen Blomfeldt <>
parent 970f6a80
......@@ -116,6 +116,7 @@ void AndroidToolChain::addToEnvironment(Environment &env) const
QString javaHome = AndroidConfigurations::instance().openJDKPath().toString();
if (!javaHome.isEmpty() && QFileInfo(javaHome).exists())
env.set(QLatin1String("JAVA_HOME"), javaHome);
env.set(QLatin1String("ANDROID_HOME"), AndroidConfigurations::instance().config().sdkLocation.toString());
bool AndroidToolChain::operator ==(const ToolChain &tc) const
Supports Markdown
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