Fix install_minimum_android_sdk_prerequisites.py (#1513)

This commit is contained in:
Catfriend1
2025-06-27 23:22:50 +02:00
committed by GitHub
parent 7ae8928c37
commit 7ec039498a
2 changed files with 30 additions and 11 deletions

View File

@ -147,7 +147,7 @@ if platform.system() not in SUPPORTED_PYTHON_PLATFORMS:
fail('Unsupported python platform %s. Supported platforms: %s', platform.system(),
', '.join(SUPPORTED_PYTHON_PLATFORMS))
prerequisite_tools_dir = os.path.dirname(os.path.realpath(__file__)) + os.path.sep + ".." + os.path.sep + "syncthing-android-prereq"
prerequisite_tools_dir = os.path.dirname(os.path.realpath(__file__)) + os.path.sep + ".." + os.path.sep + ".." + os.path.sep + "syncthing-android-prereq"
# Check if "sdk-manager" of sdk-tools package is available.
sdk_manager_bin = which("sdkmanager")