mach install attempts to use non-existent avd
Categories
(Firefox Build System :: General, defect, P3)
Tracking
(firefox119 fixed)
| Tracking | Status | |
|---|---|---|
| firefox119 | --- | fixed |
People
(Reporter: aerickson, Assigned: Logan)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
System details:
MacBook Pro (14-inch, 2021)
Chip: m1 pro
following steps for testing a new mac hostutils
https://wiki.mozilla.org/Packaging_Android_host_utilities#macOS_2
# hg client is at 3a79e9a1c11d with my modified hostutils manifest
$ ./mach bootstrap (pick option 3, android artifact)
...
$ ./mach clobber
...
$ ./mach build
...
$ ./mach package
...
$ ./mach install
No Android devices connected. Start an emulator? (Y/n)
WARNING: Could not find AVD at /Users/aerickson/.mozbuild/android-device/avd/mozemulator-armeabi-v7a.avd
Android AVD not found, please run |mach bootstrap|
0:02.45 /opt/homebrew/bin/terminal-notifier -title Mozilla Build System -group mozbuild -message Install complete
$ ls /Users/aerickson/.mozbuild/android-device/avd/
mozemulator-arm64.avd/ mozemulator-arm64.ini
| Reporter | ||
Comment 1•2 years ago
|
||
Worked around by installing and starting an AVD via Android Studio and changing mozconfig to:
# Build GeckoView/Firefox for Android Artifact Mode:
ac_add_options --enable-application=mobile/android
#ac_add_options --target=arm-linux-androideabi
ac_add_options --enable-artifact-builds
# Write build artifacts to:
mk_add_options MOZ_OBJDIR=./objdir-frontend
# For newer phones or Apple silicon
ac_add_options --target=aarch64
and then clobbering, building, packaging, and installing.
Updated•2 years ago
|
| Assignee | ||
Comment 2•2 years ago
|
||
Targeting aarch64 on Apple silicon to ensure that we build an arm64 artifact that will run on an arm64 emulator, which is the only one that is supported.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Backed out changeset 286cef8a7c0a (Bug 1837047) for causing python mbu failure
Backout: https://hg.mozilla.org/integration/autoland/rev/3396ae36832c1e444d7373ab021be20072d57e89
Failure log: https://treeherder.mozilla.org/logviewer?job_id=428369898&repo=autoland&lineNumber=2782
| Assignee | ||
Comment 5•2 years ago
|
||
Whoops, sorry about that! Fixed the code on Phabricator.
Comment 7•2 years ago
|
||
| bugherder | ||
Description
•