summaryrefslogtreecommitdiff
path: root/scripts/android/build_apk.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/android/build_apk.py')
-rw-r--r--scripts/android/build_apk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/android/build_apk.py b/scripts/android/build_apk.py
index 1c9cec9ab..e17036493 100644
--- a/scripts/android/build_apk.py
+++ b/scripts/android/build_apk.py
@@ -206,7 +206,7 @@ class Configuration:
androidBuildTools = ["aapt", "zipalign", "dx"]
for tool in androidBuildTools:
if which(tool, [self.env.sdk.getBuildToolsPath()]) == None:
- raise Exception("Missing Android build tool: %s" % toolPath)
+ raise Exception("Missing Android build tool: %s" % tool)
requiredToolsInPath = ["javac", "jar", "jarsigner", "keytool"]
for tool in requiredToolsInPath: