From 1aab248fa43c827e44aaf5c1f5a5c631b68f6443 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 19 May 2019 14:48:33 +0300 Subject: [PATCH] waflib: android: python 3 fix --- scripts/waflib/android.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/waflib/android.py b/scripts/waflib/android.py index 3ce8859f..cc5d70dc 100644 --- a/scripts/waflib/android.py +++ b/scripts/waflib/android.py @@ -50,8 +50,8 @@ def configure(conf): paths = [os.path.join(sdk, 'tools'), get_build_tools(sdk, btv)] paths += os.environ['PATH'].split(os.pathsep) # just in case we have installed tools - - conf.env.BUILD_TOOLS_VERSION = map(int, btv.split('.')) + + conf.env.BUILD_TOOLS_VERSION = [int(x) for x in btv.split('.')] # mandatory for i in ['aapt2', 'zipalign', 'apksigner', 'zip']: