Find aapt as part of the main config initialisation

This commit is contained in:
Daniel Martí 2014-07-03 00:27:44 +02:00
parent 5aad7b5d38
commit d110c24eff
3 changed files with 18 additions and 12 deletions

View file

@ -772,9 +772,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
if not os.path.exists(src):
raise BuildException("Unsigned apk is not at expected location of " + src)
p = SilentPopen([os.path.join(config['sdk_path'], 'build-tools',
config['build_tools'], 'aapt'),
'dump', 'badging', src])
p = SilentPopen([config['aapt'], 'dump', 'badging', src])
vercode = None
version = None