diff --git a/tools/releasetools/apex_utils.py b/tools/releasetools/apex_utils.py index 3177fa03a..644b92a57 100644 --- a/tools/releasetools/apex_utils.py +++ b/tools/releasetools/apex_utils.py @@ -545,7 +545,7 @@ def GetApexInfoFromTargetFiles(input_file): debugfs_path = os.path.join(OPTIONS.search_path, "bin", "debugfs_static") deapexer = 'deapexer' if OPTIONS.search_path: - deapexer_path = os.path.join(OPTIONS.search_path, "deapexer") + deapexer_path = os.path.join(OPTIONS.search_path, "bin", "deapexer") if os.path.isfile(deapexer_path): deapexer = deapexer_path for apex_filename in os.listdir(target_dir):