Merge pull request #38172 from m4gr3d/misc_fixes
Fix detection logic for the Android sdk path
This commit is contained in:
commit
1cf82f6f90
1 changed files with 1 additions and 1 deletions
|
@ -1699,7 +1699,7 @@ public:
|
||||||
valid = false;
|
valid = false;
|
||||||
} else {
|
} else {
|
||||||
Error errn;
|
Error errn;
|
||||||
DirAccessRef da = DirAccess::open(sdk_path.plus_file("tools"), &errn);
|
DirAccessRef da = DirAccess::open(sdk_path.plus_file("platform-tools"), &errn);
|
||||||
if (errn != OK) {
|
if (errn != OK) {
|
||||||
err += TTR("Invalid Android SDK path for custom build in Editor Settings.") + "\n";
|
err += TTR("Invalid Android SDK path for custom build in Editor Settings.") + "\n";
|
||||||
valid = false;
|
valid = false;
|
||||||
|
|
Loading…
Reference in a new issue