diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2013-11-14 18:58:25 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:05:15 +0300 |
commit | db64bc6feb3402bffaf5a0ad033280b1f7abc3dd (patch) | |
tree | bc08293622abc6841d8b71b3b87d0eccb64efa48 /tools/android | |
parent | 07e3b582fd786e68940cfcc38c3a65fd5c3a7ca3 (diff) |
android compilation fix
Diffstat (limited to 'tools/android')
-rwxr-xr-x | tools/android/set_up_android.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/android/set_up_android.py b/tools/android/set_up_android.py index a1a2c7e2d7..d9d3b0be0c 100755 --- a/tools/android/set_up_android.py +++ b/tools/android/set_up_android.py @@ -40,6 +40,8 @@ def replace_aapt(sdkDir, oldAaptName='aapt2'): buildToolsPath = os.path.join(sdkDir, 'build-tools') # Build tools now are in different folders for each version for buildToolsVersion in os.listdir(buildToolsPath): + if not os.path.isdir(os.path.join(buildToolsPath, buildToolsVersion)): + continue aaptPath = os.path.join(buildToolsPath, buildToolsVersion, 'aapt') aaptRealPath = os.path.join(buildToolsPath, buildToolsVersion, oldAaptName) |