From 35ca050bfb82b27cac0fe142768a4876759fced0 Mon Sep 17 00:00:00 2001 From: Jonathan Schwender <55576758+jschwe@users.noreply.github.com> Date: Sun, 1 Sep 2024 22:17:34 +0200 Subject: [PATCH] android: Fix install (#33277) self.config["android"]["target"] is unset, causing an exception. We can just use self.target.triple() instead. Signed-off-by: Jonathan Schwender --- python/servo/command_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/servo/command_base.py b/python/servo/command_base.py index d5b1881618b..b8fd132387d 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -330,7 +330,7 @@ class CommandBase(object): def get_apk_path(self, build_type: BuildType): base_path = util.get_target_dir() - base_path = path.join(base_path, "android", self.config["android"]["target"]) + base_path = path.join(base_path, "android", self.target.triple()) apk_name = "servoapp.apk" return path.join(base_path, build_type.directory_name(), apk_name)