forked from qt-creator/qt-creator
Android: Fix default (Android Studio) Sdk path for Windows
By default, Android Studio on Windows puts the SDK into: %LOCALAPPDATA%\Android\Sdk Change-Id: Iadbb1cb5c15c6cdb581cbe07b2a0e83ac11e384e Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
committed by
Assam Boudjelthia
parent
1f1dca9ec7
commit
f1a5939e86
@@ -308,7 +308,8 @@ FilePath AndroidSettingsWidget::getDefaultSdkPath() const
|
|||||||
|
|
||||||
if (HostOsInfo::isWindowsHost()) {
|
if (HostOsInfo::isWindowsHost()) {
|
||||||
return FilePath::fromString(
|
return FilePath::fromString(
|
||||||
QStandardPaths::writableLocation(QStandardPaths::HomeLocation) + "/Android/sdk");
|
QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation)
|
||||||
|
+ "/Android/Sdk");
|
||||||
}
|
}
|
||||||
|
|
||||||
return FilePath::fromString(
|
return FilePath::fromString(
|
||||||
|
Reference in New Issue
Block a user