Android: fix SDK path on macOS

Change-Id: I369cf218eb2fd42ede04a6cb6b638d6fa6282994
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Assam Boudjelthia
2020-12-06 17:17:50 +02:00
parent 8f8fa81c30
commit ec68b4e96c

View File

@@ -1020,8 +1020,7 @@ FilePath AndroidConfig::defaultSdkPath()
// Set default path of SDK as used by Android Studio
if (Utils::HostOsInfo::isMacHost()) {
return Utils::FilePath::fromString(
QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation)
+ "/../Android/sdk");
QStandardPaths::writableLocation(QStandardPaths::HomeLocation) + "/Android/sdk");
}
if (Utils::HostOsInfo::isWindowsHost()) {