1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer: Fixed an issue setting the fallback Android SDK path on Linux

This commit is contained in:
Tom Poole 2019-06-11 12:32:05 +01:00
parent f8b039c132
commit a0b0a3e7bd

View file

@ -409,11 +409,12 @@ static String getFallbackPathForOS (const Identifier& key, DependencyPathOS os)
}
else if (key == Ids::androidSDKPath)
{
return "${user.home}/Library/Android/sdk";
return (os == TargetOS::linux ? "${user.home}/Android/Sdk" :
"${user.home}/Library/Android/sdk");
}
else if (key == Ids::androidNDKPath)
{
return "${user.home}/Library/Android/sdk/ndk-bundle";
return getFallbackPathForOS (Ids::androidSDKPath, os) + "/ndk-bundle";
}
else if (key == Ids::clionExePath)
{