mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
Warn if build_tools is not set up properly
This commit is contained in:
parent
75381ef147
commit
b637568a62
1 changed files with 3 additions and 0 deletions
|
@ -142,6 +142,9 @@ def test_sdk_exists(c):
|
|||
if not os.path.isdir(os.path.join(c['sdk_path'], 'build-tools')):
|
||||
logging.critical('Android SDK path "' + c['sdk_path'] + '" does not contain "build-tools/"!')
|
||||
return False
|
||||
if not os.path.isdir(os.path.join(c['sdk_path'], 'build-tools', c['build_tools'])):
|
||||
logging.critical('Configured build-tools version "' + c['build_tools'] + '" not found in the SDK!')
|
||||
return False
|
||||
return True
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue