Commit d2dff265 authored by Daniel Teske's avatar Daniel Teske

Android: Fix removing of no longer valid kits

Changing the ndk directory will remove the toolchains. That means some
existing kits might be without a toolchain, we need to handle those too.

Change-Id: I02789550acc4dd16591a87c768c2bddecb4b6e80
Reviewed-by: default avatarTobias Hunger <>
parent f6b9e90f
......@@ -591,11 +591,6 @@ void AndroidConfigurations::updateAutomaticKitList()
if (k->isSdkProvided())
ProjectExplorer::ToolChain *tc = ProjectExplorer::ToolChainKitInformation::toolChain((k));
if (!tc)
if (tc->type() != QLatin1String(Constants::ANDROID_TOOLCHAIN_TYPE))
existingKits << k;
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