Index: build/android/adb_install_apk.py |
diff --git a/build/android/adb_install_apk.py b/build/android/adb_install_apk.py |
index adad48bdef84a445d58e3f443017b979302706d4..d3a82fec151660db6e15a86449ccc52756e87b22 100755 |
--- a/build/android/adb_install_apk.py |
+++ b/build/android/adb_install_apk.py |
@@ -63,7 +63,8 @@ def main(argv): |
raise Exception('Error: no connected devices') |
if not options.apk_package: |
- options.apk_package = apk_helper.GetPackageName(options.apk) |
+ options.apk_package = apk_helper.GetPackageName(constants.ANDROID_SDK_TOOLS, |
+ options.apk) |
pool = multiprocessing.Pool(len(devices)) |
# Send a tuple (apk_path, apk_package, device) per device. |