forked from qt-creator/qt-creator
Android: fix Android SDK default path on macOS
Fixes ec68b4e96c
.
Change-Id: I07b3a627c77d363c1e7e3b2ecc1222e211792959
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -1020,7 +1020,7 @@ FilePath AndroidConfig::defaultSdkPath()
|
|||||||
// Set default path of SDK as used by Android Studio
|
// Set default path of SDK as used by Android Studio
|
||||||
if (Utils::HostOsInfo::isMacHost()) {
|
if (Utils::HostOsInfo::isMacHost()) {
|
||||||
return Utils::FilePath::fromString(
|
return Utils::FilePath::fromString(
|
||||||
QStandardPaths::writableLocation(QStandardPaths::HomeLocation) + "/Android/sdk");
|
QStandardPaths::writableLocation(QStandardPaths::HomeLocation) + "/Library/Android/sdk");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Utils::HostOsInfo::isWindowsHost()) {
|
if (Utils::HostOsInfo::isWindowsHost()) {
|
||||||
|
Reference in New Issue
Block a user