<out dir>/monochrome_public_bundle install fails |
||
Issue description
Running <out dir>/monochrome_public_bundle install causes
File "out/Debug/bin/monochrome_public_bundle", line 28, in <module>
sys.exit(main())
File "out/Debug/bin/monochrome_public_bundle", line 25, in main
target_cpu='arm')
File "/usr/local/google/code/chromium3/src/build/android/apk_operations.py", line 1444, in RunForBundle
bundle_generation_info=bundle_generation_info)
File "/usr/local/google/code/chromium3/src/build/android/apk_operations.py", line 1381, in _RunInternal
args.command.ProcessArgs(args)
File "/usr/local/google/code/chromium3/src/build/android/apk_operations.py", line 960, in ProcessArgs
abis=self.apk_helper.GetAbis())
AttributeError: 'NoneType' object has no attribute 'GetAbis'
,
Sep 27
To properly fix this, I think we want devil's apk_helper.py to natively grok bundles. I filed internal b/116794667 to ask if this can be supported. For now, we can eliminate the crash by simply disabling the ABI-specific device query in the bundle case. In other words, if we're loading a bundle, don't try to pull a list of supported ABIs from the bundle, because we can't - instead, just go back to specifying which device you want to load.
,
Sep 27
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/135f2e132bb84ac5d78f2c782dbcd4d9e3beba97 commit 135f2e132bb84ac5d78f2c782dbcd4d9e3beba97 Author: Christopher Grant <cjgrant@chromium.org> Date: Thu Sep 27 21:18:41 2018 Fix bundle installing and debugging in APK helper scripts A recent improvement to the APK wrapper scripts queries the target APK for its native ABI, so it can ignore devices that don't match. Unfortunately this broke bundle installation, since we can't yet run the same ABI query on a bundle. BUG= 887964 Change-Id: I52c18a39ebb5b2714731826e2797e1fc18ab0a0e Reviewed-on: https://chromium-review.googlesource.com/1249901 Reviewed-by: Eric Stevenson <estevenson@chromium.org> Commit-Queue: Christopher Grant <cjgrant@chromium.org> Cr-Commit-Position: refs/heads/master@{#594862} [modify] https://crrev.com/135f2e132bb84ac5d78f2c782dbcd4d9e3beba97/build/android/apk_operations.py
,
Sep 27
|
||
►
Sign in to add a comment |
||
Comment 1 by cjgrant@chromium.org
, Sep 25Status: Started (was: Available)